We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d879a0d commit 7913d09Copy full SHA for 7913d09
telegram/message.py
@@ -198,6 +198,8 @@ def to_dict(self):
198
data['forward_date'] = self._totimestamp(self.forward_date)
199
if self.photo:
200
data['photo'] = [p.to_dict() for p in self.photo]
201
+ if self.entities:
202
+ data['entities'] = [e.to_dict() for e in self.entities]
203
if self.new_chat_photo:
204
data['new_chat_photo'] = [p.to_dict() for p in self.new_chat_photo]
205
0 commit comments