Sha256: 4f90e1317e4faf8e6921670a45df3748e2e765db8d19e7ae6e115fbb44884a78

Contents?: true

Size: 374 Bytes

Versions: 2

Compression:

Stored size: 374 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class KeyboardButton < Base
        attribute :text, Types::String
        attribute? :request_contact, Types::Bool
        attribute? :request_location, Types::Bool
        attribute? :request_poll, KeyboardButtonPollType
        attribute? :web_app, WebAppInfo
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/keyboard_button.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/keyboard_button.rb