Sha256: 6302a1d06d674f70caf7c4cdc43c77b15e5b96e90ad7c290f27302fcc7d47dc7

Contents?: true

Size: 862 Bytes

Versions: 4

Compression:

Stored size: 862 Bytes

Contents

module Telegram
  module Bot
    module Types
      class ChatMember < Base
        attribute :user, User
        attribute :status, String
        attribute :until_date, Integer
        attribute :can_be_edited, Boolean
        attribute :can_change_info, Boolean
        attribute :can_post_messages, Boolean
        attribute :can_edit_messages, Boolean
        attribute :can_delete_messages, Boolean
        attribute :can_invite_users, Boolean
        attribute :can_restrict_members, Boolean
        attribute :can_pin_messages, Boolean
        attribute :can_promote_members, Boolean
        attribute :is_member, Boolean
        attribute :can_send_messages, Boolean
        attribute :can_send_media_messages, Boolean
        attribute :can_send_other_messages, Boolean
        attribute :can_add_web_page_previews, Boolean
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.10.1 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.10.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.9.1 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.9.0 lib/telegram/bot/types/chat_member.rb