Sha256: e2d296ec8f975245e6e7b44d41c5599045c5497ffdd9232a89cb0b9a17d4e59f

Contents?: true

Size: 933 Bytes

Versions: 3

Compression:

Stored size: 933 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatMemberAdministrator < ChatMember
        attribute :status, Types::String
        attribute :user, User
        attribute :can_be_edited, Types::Bool
        attribute :is_anonymous, Types::Bool
        attribute :can_manage_chat, Types::Bool
        attribute :can_delete_messages, Types::Bool
        attribute :can_manage_video_chats, Types::Bool
        attribute :can_restrict_members, Types::Bool
        attribute :can_promote_members, Types::Bool
        attribute :can_change_info, Types::Bool
        attribute :can_invite_users, Types::Bool
        attribute? :can_post_messages, Types::Bool
        attribute? :can_edit_messages, Types::Integer
        attribute? :can_pin_messages, Types::Integer
        attribute? :can_manage_topics, Types::Integer
        attribute? :custom_title, Types::String
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/chat_member_administrator.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/chat_member_administrator.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/chat_member_administrator.rb