Sha256: 84230cb0146c3555a4275259e56782eba208eeb3c6911ff117fc422d93264753

Contents?: true

Size: 902 Bytes

Versions: 2

Compression:

Stored size: 902 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_stories, Types::Bool
        attribute :can_edit_stories, Types::Bool
        attribute :can_delete_stories, 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

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/chat_administrator_rights.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/chat_administrator_rights.rb