Sha256: 244f8714695702d9942bd5a5205a0280fdddaa87ed84e1279f4df490ce83653c
Contents?: true
Size: 722 Bytes
Versions: 3
Compression:
Stored size: 722 Bytes
Contents
# frozen_string_literal: true module Telegram module Bot module Types class InlineQueryResultContact < Base attribute :type, Types::String.constrained(eql: 'contact').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? :thumbnail_url, Types::String attribute? :thumbnail_width, Types::Integer attribute? :thumbnail_height, Types::Integer end end end end
Version data entries
3 entries across 3 versions & 1 rubygems