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 ru.workinprogress.telek.EffectExecutorImpl, which logs it and turns it into an ru.workinprogress.telek.EffectFailed that reaches ru.workinprogress.telek.TelekInterceptor.onError.

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