InlineQueryResultContact

telegramium.bots.InlineQueryResultContact
final case class InlineQueryResultContact(id: String, phoneNumber: String, firstName: String, lastName: Option[String], vcard: Option[String], replyMarkup: Option[InlineKeyboardMarkup], inputMessageContent: Option[InputMessageContent], thumbnailUrl: Option[String], thumbnailWidth: Option[Int], thumbnailHeight: Option[Int]) extends InlineQueryResult

Represents a contact with a phone number. By default, this contact will be sent by the user. Alternatively, you can use input_message_content to send a message with the specified content instead of the contact.

Value parameters

firstName

Contact's first name

id

Unique identifier for this result, 1-64 Bytes

inputMessageContent

Optional. Content of the message to be sent instead of the contact

lastName

Optional. Contact's last name

phoneNumber

Contact's phone number

replyMarkup

Optional. Inline keyboard attached to the message

thumbnailHeight

Optional. Thumbnail height

thumbnailUrl

Optional. Url of the thumbnail for the result

thumbnailWidth

Optional. Thumbnail width

vcard

Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product