Layer 220
BotInlineMessageMediaContact
Send a contact
constructor
botInlineMessageMediaContact#18d1cdc2 flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = BotInlineMessage;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| PhoneNumber | string | Phone number |
| FirstName | string | First name |
| LastName | string | Last name |
| Vcard | string | VCard info |
| ReplyMarkup | flags.2?ReplyMarkup | Inline keyboard |
Returns
BotInlineMessageGogram Example
// Creating BotInlineMessageMediaContact constructor obj := &tg.BotInlineMessageMediaContact{ PhoneNumber: "...", FirstName: "...", LastName: "...", Vcard: "...", // Optional fields: // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{}}, }