Sha256: 30e5ec14c520161240cd6f19e21dbb24a9fcc8e13fc0f3b009d79d4bc73d0b7c

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

module TD::Types
  # Represents a single button in a bot keyboard.
  #
  # @attr text [TD::Types::String] Text of the button.
  # @attr type [TD::Types::KeyboardButtonType] Type of the button.
  class KeyboardButton < Base
    attribute :text, TD::Types::String
    attribute :type, TD::Types::KeyboardButtonType
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/keyboard_button.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/keyboard_button.rb