Sha256: ddc4cc8fcc4ca3278d77dc81ddae084a05f965044f09a01aef271c59be4074ac

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

# frozen_string_literal: true

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

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-types-0.7.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-types-0.6.3 lib/telegram/bot/types/chat_member.rb