Sha256: af3066e7bf3db9a85cb18a4f849a3113e5c6b6b7a606339f22b5fb4c5e408419

Contents?: true

Size: 945 Bytes

Versions: 2

Compression:

Stored size: 945 Bytes

Contents

module Telegram
  module Bot
    module Types
      class ChatMember < Base
        attribute :user, User
        attribute :status, String
        attribute :custom_title, String
        attribute :until_date, Integer
        attribute :can_be_edited, Boolean
        attribute :can_post_messages, Boolean
        attribute :can_edit_messages, Boolean
        attribute :can_delete_messages, Boolean
        attribute :can_restrict_members, Boolean
        attribute :can_promote_members, Boolean
        attribute :can_change_info, Boolean
        attribute :can_invite_users, Boolean
        attribute :can_pin_messages, Boolean
        attribute :is_member, Boolean
        attribute :can_send_messages, Boolean
        attribute :can_send_media_messages, Boolean
        attribute :can_send_polls, Boolean
        attribute :can_send_other_messages, Boolean
        attribute :can_add_web_page_previews, Boolean
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.13.0 lib/telegram/bot/types/chat_member.rb
telegram-bot-ruby-0.12.0 lib/telegram/bot/types/chat_member.rb