Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class TelegramContext(val bot: Bot) : ExecutionContext
Link copied to clipboard

Resolves the TelegramContext lazily, once a Bot instance becomes available.

Link copied to clipboard
annotation class TelegramMessageDsl
Link copied to clipboard

Functions

Link copied to clipboard
fun Dispatcher.connect(telek: Telek, contextSource: TelegramContextSource)
Link copied to clipboard
fun <S : State> TransitionBuilder<S>.editMarkup(chatId: Long, messageId: Long, markup: InlineKeyboardMarkup? = null)
Link copied to clipboard
fun <S : State> TransitionBuilder<S>.editMessage(chatId: Long, messageId: Long, message: TelegramTextBuilder.() -> Unit, keyboard: InlineKeyboardBuilder.() -> Unit? = null)
fun <S : State> TransitionBuilder<S>.editMessage(chatId: Long, messageId: Long, text: String, markup: InlineKeyboardMarkup? = null)
Link copied to clipboard
fun inlineKeyboard(block: InlineKeyboardBuilder.() -> Unit): InlineKeyboardMarkup
Link copied to clipboard
fun <S : State> TransitionBuilder<S>.sendMessage(chatId: Long, message: TelegramTextBuilder.() -> Unit, keyboard: InlineKeyboardBuilder.() -> Unit? = null)
fun <S : State> TransitionBuilder<S>.sendMessage(chatId: Long, text: String, markup: InlineKeyboardMarkup? = null)
Link copied to clipboard