Package-level declarations
Functions
Link copied to clipboard
fun copyTextButton(text: String, data: CopyTextButtonData, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): CopyTextButton
fun copyTextButton(text: String, data: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): CopyTextButton
Creates CopyTextButton
Link copied to clipboard
fun dataInlineButton(text: String, data: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): CallbackDataInlineKeyboardButton
Creates CallbackDataInlineKeyboardButton
Link copied to clipboard
fun gameInlineButton(text: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): CallbackGameInlineKeyboardButton
Creates CallbackGameInlineKeyboardButton
Link copied to clipboard
fun inlineQueryInAnyCurrentChatInlineButton(text: String, query: String? = null, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): SwitchInlineQueryChosenChatInlineKeyboardButton
Link copied to clipboard
fun inlineQueryInCurrentChatInlineButton(text: String, parameters: SwitchInlineQueryChosenChat, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): SwitchInlineQueryChosenChatInlineKeyboardButton
fun inlineQueryInCurrentChatInlineButton(text: String, query: String? = null, allowUsers: Boolean = false, allowBots: Boolean = false, allowGroups: Boolean = false, allowChannels: Boolean = false, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): SwitchInlineQueryChosenChatInlineKeyboardButton
fun inlineQueryInCurrentChatInlineButton(text: String, data: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): SwitchInlineQueryCurrentChatInlineKeyboardButton
Link copied to clipboard
fun inlineQueryInlineButton(text: String, data: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): SwitchInlineQueryInlineKeyboardButton
Link copied to clipboard
fun loginInlineButton(text: String, loginUrl: LoginURL, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): LoginURLInlineKeyboardButton
Creates LoginURLInlineKeyboardButton
Link copied to clipboard
fun payInlineButton(text: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): PayInlineKeyboardButton
Creates PayInlineKeyboardButton
Link copied to clipboard
fun urlInlineButton(text: String, url: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): URLInlineKeyboardButton
Creates URLInlineKeyboardButton
Link copied to clipboard
fun webAppInlineButton(text: String, webApp: WebAppInfo, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): WebAppInlineKeyboardButton
fun webAppInlineButton(text: String, url: String, iconCustomEmojiId: CustomEmojiId? = null, style: KeyboardButtonStyle? = null): WebAppInlineKeyboardButton
Creates WebAppInlineKeyboardButton. Please, remember that this button is available in private chats only