mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 16:24:15 +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()
|
||||
if options is None:
|
||||
return
|
||||
options = []
|
||||
return await self._client(
|
||||
functions.messages.SendVoteRequest(
|
||||
peer=self._input_chat,
|
||||
|
|
Loading…
Reference in New Issue
Block a user