peyk.platforms.bale.methods.send_invoice¶
- async peyk.platforms.bale.methods.send_invoice(self, chat_id: int | str, title: str, description: str, payload_: str, provider_token: str, prices: Sequence[Mapping[str, object]], *, photo_url: str | None = None, reply_to_message_id: int | None = None, reply_markup: Mapping[str, object] | None = None) Message[source]¶
Sends invoice through the Bale API.
- Parameters:
chat_id – Identifier of the target chat.
title – Title to apply to the target resource.
description – Description to apply to the target resource.
payload – Value used by this operation.
provider_token – Value used by this operation.
prices – Value used by this operation.
photo_url – 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.