Sha256: 6305c985d8df1cfb425cc54c465ec8dc371c09397ab162560d46f3f28ad2bfc1

Contents?: true

Size: 829 Bytes

Versions: 2

Compression:

Stored size: 829 Bytes

Contents

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

        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

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.17.0 lib/telegram/bot/types/chat.rb
telegram-bot-ruby-0.16.0 lib/telegram/bot/types/chat.rb