Skip to content

Commit 6cb3e92

Browse files
committed
Reword a note
1 parent 317685c commit 6cb3e92

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyrogram/types/inline_mode/chosen_inline_result.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
class ChosenInlineResult(Object, Update):
3030
"""A :doc:`result <InlineQueryResult>` of an inline query chosen by the user and sent to their chat partner.
3131
32+
.. note::
33+
34+
In order to receive these updates, your bot must have "inline feedback" enabled. You can enable this feature
35+
with `@BotFather <https://t.me/botfather>`_.
36+
3237
Parameters:
3338
result_id (``str``):
3439
The unique identifier for the result that was chosen.
@@ -46,11 +51,6 @@ class ChosenInlineResult(Object, Update):
4651
Identifier of the sent inline message.
4752
Available only if there is an :doc:`inline keyboard <InlineKeyboardMarkup>` attached to the message.
4853
Will be also received in :doc:`callback queries <CallbackQuery>` and can be used to edit the message.
49-
50-
.. note::
51-
52-
It is necessary to enable inline feedback via `@Botfather <https://t.me/botfather>`_ in order to receive these
53-
objects in updates.
5454
"""
5555

5656
def __init__(

0 commit comments

Comments
 (0)