Fix wrong typehint for message_id in vote_poll method

This commit is contained in:
KurimuzonAkuma 2024-04-16 16:06:56 +03:00
parent 737c9b8765
commit e6238f6988

View File

@ -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.