Layer 224
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
PhoneNumber string Phone number
FirstName string First name
LastName string Last name
Vcard string VCard info
ReplyMarkup flags.2?ReplyMarkup Inline keyboard

Gogram Example

// Creating InputBotInlineMessageMediaContact constructor
obj := &tg.InputBotInlineMessageMediaContact{
    PhoneNumber: "Hello, World!",
    FirstName: "Hello, World!",
    LastName: "Hello, World!",
    Vcard: "Hello, World!",

    // Optional fields:
    // ReplyMarkup: &tg.ReplyKeyboardMarkup{Rows: []tg.KeyboardButtonRow{{Buttons: []tg.KeyboardButton{&tg.KeyboardButton{Text: "Click Me"}}}}},
}