Telegex.send_contact

You're seeing just the function send_contact, go back to Telegex module for more information.
Link to this function

send_contact(chat_id, phone_number, first_name, optionals \\ [])

View Source

Specs

send_contact(integer() | String.t(), String.t(), String.t(),
  last_name: String.t(),
  vcard: String.t(),
  disable_notification: boolean(),
  reply_to_message_id: integer(),
  allow_sending_without_reply: boolean(),
  reply_markup:
    Telegex.Model.InlineKeyboardMarkup.t()
    | Telegex.Model.ReplyKeyboardMarkup.t()
    | Telegex.Model.ReplyKeyboardRemove.t()
    | Telegex.Model.ForceReply.t()
) :: {:ok, Telegex.Model.Message.t()} | {:error, Telegex.Model.errors()}

Use this method to send phone contacts. On success, the sent Telegex.Model.Message is returned.