Sha256: 4adb5495c420a67c5a58e789d605d8fa9e7081a55c9a039a9d177f1c233d7eed

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class SharedUser < Base
        attribute :user_id, Types::Integer
        attribute? :first_name, Types::String
        attribute? :last_name, Types::String
        attribute? :username, Types::String
        attribute? :photo, Types::Array.of(PhotoSize)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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