Sha256: c04f3f68cd32cb764e55304363b30aa55e66412b78c0273dabe8f274a738f568

Contents?: true

Size: 1018 Bytes

Versions: 1

Compression:

Stored size: 1018 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_send_messages, Types::Bool
        attribute :can_send_audios, Types::Bool
        attribute :can_send_documents, Types::Bool
        attribute :can_send_photos, Types::Bool
        attribute :can_send_videos, Types::Bool
        attribute :can_send_video_notes, Types::Bool
        attribute :can_send_voice_notes, Types::Bool
        attribute :can_send_polls, Types::Bool
        attribute :can_send_other_messages, Types::Bool
        attribute :can_add_web_page_previews, 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 :until_date, Types::Integer
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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