Sha256: a21d2fe80af08fff04defbf089aa813c78bb26a9823ee75f5447275809c754cc

Contents?: true

Size: 1.09 KB

Versions: 8

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_video_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

8 entries across 8 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.23.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.22.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.21.1 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.21.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.20.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.19.2 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.19.1 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.19.0 lib/telegram/bot/types/chat_member.rb