CallbackDataInlineKeyboardButton

@Serializable
data class CallbackDataInlineKeyboardButton(val text: String, val callbackData: String) : InlineKeyboardButton

Simple button with callbackData which you are able to catch this type of updates and data using dev.inmo.tgbotapi.extensions.behaviour_builder.triggers_handling.onDataCallbackQuery in case you are using Behaviour Builder OR dev.inmo.tgbotapi.updateshandlers.FlowsUpdatesFilter.callbackQueriesFlow with kotlinx.coroutines.flow.filterIsInstance and filtering by type dev.inmo.tgbotapi.types.queries.callback.DataCallbackQuery

Constructors

Link copied to clipboard
constructor(text: String, callbackData: String)

Properties

Link copied to clipboard
@SerialName(value = "callback_data")
val callbackData: String
Link copied to clipboard
@SerialName(value = "text")
open override val text: String