Sha256: 414d09619d616dea52b0791263d189d44e4f04cf2b10220ea048573b5121d5d8

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatMemberRestricted < ChatMember
        attribute :status, Types::String
        attribute :user, User
        attribute :is_member, Types::Bool
        attribute :can_change_info, Types::Bool
        attribute :can_invite_users, Types::Bool
        attribute :can_pin_messages, Types::Bool
        attribute :can_manage_topics, Types::Bool
        attribute :can_send_messages, Types::Bool
        attribute :can_send_media_messages, Types::Bool
        attribute :can_send_polls, Types::Bool
        attribute :can_send_other_messages, Types::Bool
        attribute :can_add_web_page_previews, Types::Bool
        attribute :until_date, Types::Integer
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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