mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-08 12:59:46 +00:00
Update to layer 166
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import datetime
|
||||
|
||||
from .. import TLObject
|
||||
from .. import TLObject, types
|
||||
from ..functions.messages import SaveDraftRequest
|
||||
from ..types import DraftMessage
|
||||
from ...errors import RPCError
|
||||
@@ -139,7 +139,7 @@ class Draft:
|
||||
peer=self._peer,
|
||||
message=raw_text,
|
||||
no_webpage=not link_preview,
|
||||
reply_to_msg_id=reply_to,
|
||||
reply_to=None if reply_to is None else types.InputReplyToMessage(reply_to),
|
||||
entities=entities
|
||||
))
|
||||
|
||||
|
Reference in New Issue
Block a user