Package-level declarations

Types

Link copied to clipboard
class EditMarkupEffectResult(val chatId: Long, val messageId: Long) : KtgEffectSuccess
Link copied to clipboard
class EditMessageEffectResult(val chatId: Long, val messageId: Long) : KtgEffectSuccess
Link copied to clipboard
Link copied to clipboard

ktgbotapi reports API failures by throwing (TelegramBot.execute is documented as "can throw almost any exception"), so handlers here don't return a failure EffectResult of their own — they let the exception reach io.github.youndie.telek.EffectExecutorImpl, which logs it and turns it into an io.github.youndie.telek.EffectFailed that reaches io.github.youndie.telek.TelekInterceptor.onError.

Link copied to clipboard
Link copied to clipboard

The pre-entities path, kept for one release so an upgrading bot's Markdown keeps rendering.

Link copied to clipboard
class SendMessageEffectResult(val chatId: Long, val messageId: Long) : KtgEffectSuccess