mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-31 10:19:48 +03:00
Docs: mention multiple choice within filter and text args description
This commit is contained in:
parent
26095df7c7
commit
a24666f8e4
|
@ -830,8 +830,8 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
|
||||||
also be a callable, like a ``re.compile(...).match``,
|
also be a callable, like a ``re.compile(...).match``,
|
||||||
and the text will be passed to it.
|
and the text will be passed to it.
|
||||||
|
|
||||||
Please note that the first option for which the callable
|
If you need to select multiple options in a poll,
|
||||||
returns `True` will be selected.
|
pass a list of indices to the ``i`` parameter.
|
||||||
|
|
||||||
filter (`callable`):
|
filter (`callable`):
|
||||||
Clicks the first button or poll option for which the callable
|
Clicks the first button or poll option for which the callable
|
||||||
|
@ -839,8 +839,8 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
|
||||||
`MessageButton <telethon.tl.custom.messagebutton.MessageButton>`
|
`MessageButton <telethon.tl.custom.messagebutton.MessageButton>`
|
||||||
or `PollAnswer <telethon.tl.types.PollAnswer>` argument.
|
or `PollAnswer <telethon.tl.types.PollAnswer>` argument.
|
||||||
|
|
||||||
Please note that the first option for which the callable
|
If you need to select multiple options in a poll,
|
||||||
returns `True` will be selected.
|
pass a list of indices to the ``i`` parameter.
|
||||||
|
|
||||||
data (`bytes`):
|
data (`bytes`):
|
||||||
This argument overrides the rest and will not search any
|
This argument overrides the rest and will not search any
|
||||||
|
|
Loading…
Reference in New Issue
Block a user