Sha256: 6a3de2d0035286099e2cdb3a6816ca2a1f77dc5d0384524e4732f0e323a71e28

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChatMemberOwner < Base
        attribute :status, Types::String.constrained(eql: 'creator').default('creator')
        attribute :user, User
        attribute :is_anonymous, Types::Bool
        attribute? :custom_title, Types::String
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/chat_member_owner.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/chat_member_owner.rb