Sha256: 8e9d233a56bc91dd0e7ab3992b1e0fa9dcd8f85101115ac665167c0ac158d1d9

Contents?: true

Size: 682 Bytes

Versions: 3

Compression:

Stored size: 682 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQueryResultContact < Base
        attribute :type, Types::String.default('contact')
        attribute :id, Types::String
        attribute :phone_number, Types::String
        attribute :first_name, Types::String
        attribute? :last_name, Types::String
        attribute? :vcard, Types::String
        attribute? :reply_markup, InlineKeyboardMarkup
        attribute? :input_message_content, InputMessageContent
        attribute? :thumb_url, Types::String
        attribute? :thumb_width, Types::Integer
        attribute? :thumb_height, Types::Integer
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/inline_query_result_contact.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query_result_contact.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query_result_contact.rb