Sha256: 9aa10810de5fd7ad43523eda7bc371d38796ac9c4105abdfd48664dc0b793c5f

Contents?: true

Size: 797 Bytes

Versions: 4

Compression:

Stored size: 797 Bytes

Contents

module Telegram
  module Bot
    module Types
      class Chat
        include Virtus.model(finalize: false)
        include Compactable

        attribute :id, Integer
        attribute :type, String
        attribute :title, String
        attribute :username, String
        attribute :first_name, String
        attribute :last_name, String
        attribute :all_members_are_administrators, Boolean
        attribute :photo, ChatPhoto
        attribute :description, String
        attribute :invite_link, String
        attribute :pinned_message, 'Telegram::Bot::Types::Message'
        attribute :permissions, ChatPermissions
        attribute :slow_mode_delay, Integer
        attribute :sticker_set_name, String
        attribute :can_set_sticker_set, Boolean
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.15.0 lib/telegram/bot/types/chat.rb
telegram-bot-ruby-0.14.0 lib/telegram/bot/types/chat.rb
telegram-bot-ruby-0.13.0 lib/telegram/bot/types/chat.rb
telegram-bot-ruby-0.12.0 lib/telegram/bot/types/chat.rb