Sha256: 407a514df99cdfb291e157a31f4481ed40b4f9934cc5cc1f82acd9fbf52e6fb6

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

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 :photo, ChatPhoto
        attribute :bio, String
        attribute :has_private_forwards, Boolean
        attribute :description, String
        attribute :invite_link, String
        attribute :pinned_message, 'Telegram::Bot::Types::Message'
        attribute :permissions, ChatPermissions
        attribute :slow_mode_delay, Integer
        attribute :message_auto_delete_time, Integer
        attribute :has_protected_content, Boolean
        attribute :sticker_set_name, String
        attribute :can_set_sticker_set, Boolean
        attribute :all_members_are_administrators, Boolean
        attribute :linked_chat_id, Integer
        attribute :location, ChatLocation
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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