Sha256: 1e505d2841be2828928c92108901a92238dfd778a765d8792ad5f4e77394e162

Contents?: true

Size: 312 Bytes

Versions: 4

Compression:

Stored size: 312 Bytes

Contents

module TD::Types
  # Represents a single button in a bot keyboard.
  #
  # @attr text [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

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/keyboard_button.rb
tdlib-ruby-2.2.0 lib/tdlib/types/keyboard_button.rb
tdlib-ruby-2.1.0 lib/tdlib/types/keyboard_button.rb
tdlib-ruby-2.0.0 lib/tdlib/types/keyboard_button.rb