Sha256: faccab3a4e942dc5b7ce5ea9e4994fab0a1cb379c19a24d1942d095449311b7e
Contents?: true
Size: 658 Bytes
Versions: 3
Compression:
Stored size: 658 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class User < Base attribute :id, Types::Integer attribute :is_bot, Types::Bool attribute :first_name, Types::String attribute? :last_name, Types::String attribute? :username, Types::String attribute? :language_code, Types::String attribute? :is_premium, Types::Bool attribute? :added_to_attachment_menu, Types::Bool attribute? :can_join_groups, Types::Bool attribute? :can_read_all_group_messages, Types::Bool attribute? :supports_inline_queries, Types::Bool end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
telegram-bot-ruby-1.0.0 | lib/telegram/bot/types/user.rb |
telegram-bot-ruby-1.0.0.rc1 | lib/telegram/bot/types/user.rb |
telegram-bot-ruby-1.0.0.pre | lib/telegram/bot/types/user.rb |