mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Add chat.id
This commit is contained in:
parent
4aaa7160f0
commit
fd944677c7
1 changed files with 2 additions and 2 deletions
|
|
@ -2687,9 +2687,9 @@ class Message(Object, Update):
|
||||||
"""
|
"""
|
||||||
if as_copy:
|
if as_copy:
|
||||||
if self.service:
|
if self.service:
|
||||||
log.warning("Unable to copy service messages, message_id: {}".format(self.message_id))
|
log.warning("Unable to copy service messages, message_id: {} from chat.id: {}".format(self.message_id, self.chat.id))
|
||||||
elif self.game and not self._client.is_bot:
|
elif self.game and not self._client.is_bot:
|
||||||
log.warning("Users cannot send messages with Game media type, message_id: {}".format(self.message_id))
|
log.warning("Users cannot send messages with Game media type, message_id: {} from chat.id: {}".format(self.message_id, self.chat.id))
|
||||||
elif self.text:
|
elif self.text:
|
||||||
return self._client.send_message(
|
return self._client.send_message(
|
||||||
chat_id,
|
chat_id,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue