Sha256: 554233810161899a85e61d36fc17e9fbe16aa9bd4144c7dc4f49e30bd6665de9

Contents?: true

Size: 753 Bytes

Versions: 3

Compression:

Stored size: 753 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatAdministratorRights < Base
        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::Bool
        attribute? :can_pin_messages, Types::Bool
        attribute? :can_manage_topics, Types::Bool
      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_administrator_rights.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/chat_administrator_rights.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/chat_administrator_rights.rb