SendContactReq

telegramium.bots.client.SendContactReq
final case class SendContactReq(chatId: ChatId, phoneNumber: String, firstName: String, businessConnectionId: Option[String], messageThreadId: Option[Int], lastName: Option[String], vcard: Option[String], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyParameters: Option[ReplyParameters], replyMarkup: Option[KeyboardMarkup])

Value parameters

businessConnectionId

Unique identifier of the business connection on behalf of which the message will be sent

chatId

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

disableNotification

Sends the message silently. Users will receive a notification with no sound.

firstName

Contact's first name

lastName

Contact's last name

messageThreadId

Unique identifier for the target message thread (topic) of the forum; for forum supergroups only

phoneNumber

Contact's phone number

protectContent

Protects the contents of the sent message from forwarding and saving

replyMarkup

Additional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user. Not supported for messages sent on behalf of a business account

replyParameters

Description of the message to reply to

vcard

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