Sha256: 78a8a3b018ea57f9f421e72383d792e0d104c18aa535641e24f812497936913f

Contents?: true

Size: 620 Bytes

Versions: 2

Compression:

Stored size: 620 Bytes

Contents

module Telegram
  module Bot
    module Types
      class Chat < Base
        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'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dialog_bot_ruby-0.8.8 lib/telegram/bot/types/chat.rb
dialog_bot_ruby-0.8.7 lib/telegram/bot/types/chat.rb