diff --git a/compiler/docs/compiler.py b/compiler/docs/compiler.py index 1209f40c..7593e54c 100644 --- a/compiler/docs/compiler.py +++ b/compiler/docs/compiler.py @@ -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 diff --git a/compiler/docs/template/bound-methods.rst b/compiler/docs/template/bound-methods.rst index 163753dd..ee6bd2c3 100644 --- a/compiler/docs/template/bound-methods.rst +++ b/compiler/docs/template/bound-methods.rst @@ -89,7 +89,7 @@ InlineQuery {inline_query_toctree} PreCheckoutQuery ------------ +---------------- .. hlist:: :columns: 2 diff --git a/compiler/docs/template/methods.rst b/compiler/docs/template/methods.rst index 839a9210..4fd34e1e 100644 --- a/compiler/docs/template/methods.rst +++ b/compiler/docs/template/methods.rst @@ -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 -------- diff --git a/pyrogram/methods/stories/get_stories.py b/pyrogram/methods/stories/get_stories.py index 40ae2922..1e8e6e4a 100644 --- a/pyrogram/methods/stories/get_stories.py +++ b/pyrogram/methods/stories/get_stories.py @@ -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.