Sha256: 7ab9e3407ef46926a2529fe973fd8f92f73b6ac971c8cb66fa645a653effe65b

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.18.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.17.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.16.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.15.0 lib/telegram/bot/types/chat_member.rb