Package-level declarations
Types
Resolves the KtgContext lazily, once a TelegramBot instance becomes available.
Properties
ktgbotapi models ids as value classes (ChatId/RawChatId, MessageId); telek keys everything by a plain Long. These adapters are the whole of that translation — they're public so a bot wiring its own update handling (webhooks, a custom FlowsUpdatesFilter) can reuse them instead of going through connect.
Who sent it, null when nothing did that telek can name — a channel post, an automatic forward. A Keying that wants a per-person key falls back to the chat in that case; see io.github.youndie.telek.ConversationKey.
Functions
ktgbotapi wraps each id and size in its own value class (FileId, FileUniqueId, FileSize); FileRef carries the plain values a dispatcher can hold, compare and store.
Latitude and longitude only, and a live location collapses to the point it was at. telek has no notion of a location that keeps moving — a wizard step that asks "where are you" is answered by a point, and anything richer is a bot's own io.github.youndie.telek.Input.
Carries content.media — the size ktgbotapi designates for the collection — and not a pick of telek's own out of mediaCollection. telek does not model photo sizes: a wizard step keeps the photo, and a bot that wants a specific size asks the transport for it.
null for a callback query that has no message attached to it (an inline-mode one), which telek can't key by chatId and therefore can't route.
This message as ktgbotapi's own text sources.
Adapts ktgbotapi updates into telek io.github.youndie.telek.Inputs and feeds the behaviour context's dev.inmo.tgbotapi.bot.TelegramBot to contextSource.
The edit half of the deprecated sendMessage string overload; the same caveats apply.
Sends text for Telegram to parse as legacy Markdown — what every message did before entities.