Sha256: ce4f84b8bfe53466cdd02e8fe6117ccb75a07b8d8e6716b70e330e41e4ac8366

Contents?: true

Size: 723 Bytes

Versions: 2

Compression:

Stored size: 723 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class KeyboardButtonRequestChat < Base
        attribute :request_id, Types::Integer
        attribute :chat_is_channel, Types::Bool
        attribute? :chat_is_forum, Types::Bool
        attribute? :chat_has_username, Types::Bool
        attribute? :chat_is_created, Types::Bool
        attribute? :user_administrator_rights, ChatAdministratorRights
        attribute? :bot_administrator_rights, ChatAdministratorRights
        attribute? :bot_is_member, Types::Bool
        attribute? :request_title, Types::Bool
        attribute? :request_username, Types::Bool
        attribute? :request_photo, Types::Bool
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/keyboard_button_request_chat.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/keyboard_button_request_chat.rb