2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-30 05:48:14 +00:00

Add missing return type

This commit is contained in:
Dan 2019-07-22 14:16:43 +02:00 committed by GitHub
parent ba47488142
commit 948bba7a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2949,7 +2949,7 @@ class Message(Object, Update):
Index of the poll option you want to vote for (0 to 9).
Returns:
On success, the poll with the chosen option is returned.
:obj:`Poll`: On success, the poll with the chosen option is returned.
Raises:
RPCError: In case of a Telegram RPC error.