Layer 220
InputBotInlineMessageMediaContact
A contact
constructor
inputBotInlineMessageMediaContact#a6edbffd flags:# phone_number:string first_name:string last_name:string vcard:string reply_markup:flags.2?ReplyMarkup = InputBotInlineMessage;
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
InputBotInlineMessageGogram Example
// Creating InputBotInlineMessageMediaContact constructor obj := &tg.InputBotInlineMessageMediaContact{ PhoneNumber: "...", FirstName: "...", LastName: "...", Vcard: "...", // Optional fields: // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{}}, }