TelegramBot.sendContact

Send phone contact

  1. Message sendContact(T chat_id, string phone_number, string first_name, string last_name)
  2. Message sendContact(SendContactMethod m)
    struct TelegramBot
    @trusted
    sendContact

Return Value

Type: Message

Sent Message

Throws

TelegramBotException on errors

See Also

Meta