Sha256: e14d131fa106c85c0f5742aee531e0124a896d89a8bcb8679b0c288e4b3bcfba

Contents?: true

Size: 893 Bytes

Versions: 3

Compression:

Stored size: 893 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 application needs to resize the keyboard vertically.
  # @attr one_time [Boolean] True, if the application 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

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/reply_markup/show_keyboard.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/reply_markup/show_keyboard.rb
tdlib-schema-1.7.0.1 lib/tdlib/types/reply_markup/show_keyboard.rb