Skip to content

Commit 98ec926

Browse files
committed
Fix documentation mistake
1 parent 0595b32 commit 98ec926

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

pyrogram/methods/messages/send_poll.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async def send_poll(
8686
True, if the poll needs to be anonymous.
8787
Defaults to True.
8888
89-
type (:obj`~pyrogram.enums.PollType`, *optional*):
89+
type (:obj:`~pyrogram.enums.PollType`, *optional*):
9090
Poll type, :obj:`~pyrogram.enums.PollType.QUIZ` or :obj:`~pyrogram.enums.PollType.REGULAR`.
9191
Defaults to :obj:`~pyrogram.enums.PollType.REGULAR`.
9292

pyrogram/types/messages_and_media/message.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,6 @@ class Message(Object, Update):
244244
channel when it is created. It can only be found in reply_to_message if someone replies to a very
245245
first message in a channel.
246246
247-
message_auto_delete_timer_changed
248-
249247
migrate_to_chat_id (``int``, *optional*):
250248
The group has been migrated to a supergroup with the specified identifier.
251249
This number may be greater than 32 bits and some programming languages may have difficulty/silent defects
@@ -267,10 +265,10 @@ class Message(Object, Update):
267265
Message is an invoice for a `payment <https://core.telegram.org/bots/api#payments>`_, information about the invoice. `More about payments » <https://core.telegram.org/bots/api#payments>`_
268266
269267
successful_payment (:obj:`~pyrogram.types.SuccessfulPayment`, *optional*):
270-
Message is a service message about a successful payment, information about the payment. `More about payments »<https://core.telegram.org/bots/api#payments>`_
268+
Message is a service message about a successful payment, information about the payment. `More about payments <https://core.telegram.org/bots/api#payments>`_
271269
272270
refunded_payment (:obj:`~pyrogram.types.RefundedPayment`, *optional*):
273-
Message is a service message about a refunded payment, information about the payment. `More about payments »<https://core.telegram.org/bots/api#payments>`_
271+
Message is a service message about a refunded payment, information about the payment. `More about payments <https://core.telegram.org/bots/api#payments>`_
274272
275273
users_shared (:obj:`~pyrogram.types.UsersShared`, *optional*):
276274
Service message: users were shared with the bot
@@ -1266,7 +1264,6 @@ async def _parse(
12661264

12671265
parsed_message.is_from_offline = getattr(message, "offline", None)
12681266

1269-
is_automatic_forward = None
12701267
if (
12711268
forward_header and
12721269
forward_header.saved_from_peer and
@@ -2847,7 +2844,7 @@ async def reply_poll(
28472844
True, if the poll needs to be anonymous.
28482845
Defaults to True.
28492846
2850-
type (:obj`~pyrogram.enums.PollType`, *optional*):
2847+
type (:obj:`~pyrogram.enums.PollType`, *optional*):
28512848
Poll type, :obj:`~pyrogram.enums.PollType.QUIZ` or :obj:`~pyrogram.enums.PollType.REGULAR`.
28522849
Defaults to :obj:`~pyrogram.enums.PollType.REGULAR`.
28532850

0 commit comments

Comments
 (0)