2022-06-25 18:14:29 +03:00
|
|
|
#################
|
|
|
|
|
createInvoiceLink
|
|
|
|
|
#################
|
|
|
|
|
|
|
|
|
|
Returns: :obj:`str`
|
|
|
|
|
|
|
|
|
|
.. automodule:: aiogram.methods.create_invoice_link
|
|
|
|
|
:members:
|
|
|
|
|
:member-order: bysource
|
|
|
|
|
:undoc-members: True
|
2023-07-04 00:39:02 +03:00
|
|
|
:exclude-members: model_config,model_fields
|
2022-06-25 18:14:29 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
|
=====
|
|
|
|
|
|
|
|
|
|
As bot method
|
|
|
|
|
-------------
|
|
|
|
|
|
|
|
|
|
.. code-block::
|
|
|
|
|
|
|
|
|
|
result: str = await bot.create_invoice_link(...)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method as object
|
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
Imports:
|
|
|
|
|
|
|
|
|
|
- :code:`from aiogram.methods.create_invoice_link import CreateInvoiceLink`
|
|
|
|
|
- alias: :code:`from aiogram.methods import CreateInvoiceLink`
|
|
|
|
|
|
|
|
|
|
With specific bot
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
|
|
result: str = await bot(CreateInvoiceLink(...))
|
|
|
|
|
|
|
|
|
|
As reply into Webhook in handler
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
|
|
.. code-block:: python
|
|
|
|
|
|
|
|
|
|
return CreateInvoiceLink(...)
|