From 46d206610ed1e3e50cf23c31deefd0e20e9cf9af Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Mon, 24 Dec 2018 14:20:54 +0100 Subject: [PATCH] Add Poll related stuff in docs --- docs/source/pyrogram/Client.rst | 3 +++ docs/source/pyrogram/Types.rst | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/docs/source/pyrogram/Client.rst b/docs/source/pyrogram/Client.rst index 50e213ea..a0177a12 100644 --- a/docs/source/pyrogram/Client.rst +++ b/docs/source/pyrogram/Client.rst @@ -62,6 +62,9 @@ Messages delete_messages get_messages get_history + send_poll + vote_poll + retract_vote Chats ----- diff --git a/docs/source/pyrogram/Types.rst b/docs/source/pyrogram/Types.rst index 8763c0e1..47c755f9 100644 --- a/docs/source/pyrogram/Types.rst +++ b/docs/source/pyrogram/Types.rst @@ -40,6 +40,8 @@ Messages & Media Location Venue Sticker + Poll + PollOption Bots ---- @@ -146,6 +148,12 @@ Input Media .. autoclass:: Sticker :members: +.. autoclass:: Poll + :members: + +.. autoclass:: PollOption + :members: + .. Bots ----