Fix story_ids description in get_stories

This commit is contained in:
KurimuzonAkuma 2024-07-29 11:38:48 +03:00
parent b368c19889
commit b3deade428
4 changed files with 44 additions and 4 deletions

View File

@ -333,6 +333,7 @@ def pyrogram_api():
Bots
get_inline_bot_results
send_inline_bot_result
send_invoice
answer_callback_query
answer_inline_query
request_callback_answer

View File

@ -89,7 +89,7 @@ InlineQuery
{inline_query_toctree}
PreCheckoutQuery
-----------
----------------
.. hlist::
:columns: 2

View File

@ -152,7 +152,7 @@ Authorization
{authorization}
Stories
-------------
-------
.. autosummary::
:nosignatures:
@ -165,7 +165,7 @@ Stories
{stories}
Premium
-------------
-------
.. autosummary::
:nosignatures:
@ -177,6 +177,45 @@ Premium
{premium}
Phone
-----
.. autosummary::
:nosignatures:
{phone}
.. toctree::
:hidden:
{phone}
Business
--------
.. autosummary::
:nosignatures:
{business}
.. toctree::
:hidden:
{business}
Payments
--------
.. autosummary::
:nosignatures:
{payments}
.. toctree::
:hidden:
{payments}
Advanced
--------

View File

@ -39,7 +39,7 @@ class GetStories:
For your personal story you can simply use "me" or "self".
For a contact that exists in your Telegram address book you can use his phone number (str).
story_ids (``int`` | Iterable of ``int``, *optional*):
story_ids (``int`` | Iterable of ``int``):
Pass a single story identifier or an iterable of story ids (as integers) to get the content of the
story themselves.