peyk.platforms.bale.methods.send_contact

async peyk.platforms.bale.methods.send_contact(self, chat_id: int | str, phone_number: str, first_name: str, *, last_name: str | None = None, reply_to_message_id: int | None = None, reply_markup: Mapping[str, object] | None = None) Message[source]

Sends contact through the Bale API.

Parameters:
  • chat_id – Identifier of the target chat.

  • phone_number – Value used by this operation.

  • first_name – Value used by this operation.

  • last_name – Value used by this operation.

  • reply_to_message_id – Value used by this operation.

  • reply_markup – Keyboard or reply markup attached to the request.

Returns:

Result produced by the Bale operation.