Sha256: 62f9f289b95b5eda46a5fabc3bd62762ffaa5f78b58488a8b1bbbf0ff5e8ab6a

Contents?: true

Size: 612 Bytes

Versions: 2

Compression:

Stored size: 612 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatPermissions < Base
        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? :can_change_info, Types::Bool
        attribute? :can_invite_users, 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-1.0.0.rc1 lib/telegram/bot/types/chat_permissions.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/chat_permissions.rb