Sha256: e1d99fc6ccbb3741b50bed96db2e5de8de6ba8c29c00bdfc5a6fb5a492d7611d

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Contact < Base
        attribute :phone_number, Types::String
        attribute :first_name, Types::String
        attribute? :last_name, Types::String
        attribute? :user_id, Types::Integer
        attribute? :vcard, Types::String
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/contact.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/contact.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/contact.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/contact.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/contact.rb