Telegex.send_invoice
You're seeing just the function
send_invoice
, go back to Telegex module for more information.
Link to this function
send_invoice(chat_id, title, description, payload, provider_token, start_parameter, currency, prices, optionals \\ [])
View SourceSpecs
send_invoice( integer(), String.t(), String.t(), String.t(), String.t(), String.t(), String.t(), [Telegex.Model.LabeledPrice.t()], provider_data: String.t(), photo_url: String.t(), photo_size: integer(), photo_width: integer(), photo_height: integer(), need_name: boolean(), need_phone_number: boolean(), need_email: boolean(), need_shipping_address: boolean(), send_phone_number_to_provider: boolean(), send_email_to_provider: boolean(), is_flexible: boolean(), disable_notification: boolean(), reply_to_message_id: integer(), allow_sending_without_reply: boolean(), reply_markup: Telegex.Model.InlineKeyboardMarkup.t() ) :: {:ok, Telegex.Model.Message.t()} | {:error, Telegex.Model.errors()}
Use this method to send invoices. On success, the sent Telegex.Model.Message
is returned.