mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-21 17:06:36 +03:00
Add drop_author param to forward_messages (#4329)
This commit is contained in:
parent
7ceb2e0b25
commit
4d34243b98
|
@ -929,7 +929,8 @@ class MessageMethods:
|
||||||
with_my_score: bool = None,
|
with_my_score: bool = None,
|
||||||
silent: bool = None,
|
silent: bool = None,
|
||||||
as_album: bool = None,
|
as_album: bool = None,
|
||||||
schedule: 'hints.DateLike' = None
|
schedule: 'hints.DateLike' = None,
|
||||||
|
drop_author: bool = None,
|
||||||
) -> 'typing.Sequence[types.Message]':
|
) -> 'typing.Sequence[types.Message]':
|
||||||
"""
|
"""
|
||||||
Forwards the given messages to the specified entity.
|
Forwards the given messages to the specified entity.
|
||||||
|
@ -1041,7 +1042,8 @@ class MessageMethods:
|
||||||
silent=silent,
|
silent=silent,
|
||||||
background=background,
|
background=background,
|
||||||
with_my_score=with_my_score,
|
with_my_score=with_my_score,
|
||||||
schedule_date=schedule
|
schedule_date=schedule,
|
||||||
|
drop_author=drop_author
|
||||||
)
|
)
|
||||||
result = await self(req)
|
result = await self(req)
|
||||||
sent.extend(self._get_response_message(req, result, entity))
|
sent.extend(self._get_response_message(req, result, entity))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user