mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 04:35:24 +00:00
Fix wrong typehint for message_id in vote_poll method
This commit is contained in:
parent
737c9b8765
commit
e6238f6988
@ -27,7 +27,7 @@ class VotePoll:
|
|||||||
async def vote_poll(
|
async def vote_poll(
|
||||||
self: "pyrogram.Client",
|
self: "pyrogram.Client",
|
||||||
chat_id: Union[int, str],
|
chat_id: Union[int, str],
|
||||||
message_id: id,
|
message_id: int,
|
||||||
options: Union[int, List[int]]
|
options: Union[int, List[int]]
|
||||||
) -> "types.Poll":
|
) -> "types.Poll":
|
||||||
"""Vote a poll.
|
"""Vote a poll.
|
||||||
|
Loading…
Reference in New Issue
Block a user