Sha256: 51b1313bdc3024dc3fec96b3a67bcc75d24b641fe71748a48373dc051cf8898a
Contents?: true
Size: 883 Bytes
Versions: 3
Compression:
Stored size: 883 Bytes
Contents
module TD::Types # Contains a custom keyboard layout to quickly reply to bots. # # @attr rows [Array<Array<TD::Types::KeyboardButton>>] A list of rows of bot keyboard buttons. # @attr resize_keyboard [Boolean] True, if the client needs to resize the keyboard vertically. # @attr one_time [Boolean] True, if the client needs to hide the keyboard after use. # @attr is_personal [Boolean] True, if the keyboard must automatically be shown to the current user. # For outgoing messages, specify true to show the keyboard only for the mentioned users and for the target user of # a reply. class ReplyMarkup::ShowKeyboard < ReplyMarkup attribute :rows, TD::Types::Array.of(TD::Types::Array.of(TD::Types::KeyboardButton)) attribute :resize_keyboard, TD::Types::Bool attribute :one_time, TD::Types::Bool attribute :is_personal, TD::Types::Bool end end
Version data entries
3 entries across 3 versions & 1 rubygems