mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-26 09:14:31 +03:00
Support retracting poll votes on message click without option (#3080)
This commit is contained in:
parent
7c5efee1de
commit
37b81c6418
|
@ -984,7 +984,7 @@ class Message(ChatGetter, SenderGetter, TLObject):
|
||||||
|
|
||||||
options = find_options()
|
options = find_options()
|
||||||
if options is None:
|
if options is None:
|
||||||
return
|
options = []
|
||||||
return await self._client(
|
return await self._client(
|
||||||
functions.messages.SendVoteRequest(
|
functions.messages.SendVoteRequest(
|
||||||
peer=self._input_chat,
|
peer=self._input_chat,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user