python: cut text in Message representation to 100 characters

This commit is contained in:
link2xt
2023-02-08 12:02:12 +00:00
parent 48722a22c9
commit 315e944b69

View File

@@ -39,7 +39,7 @@ class Message(object):
return "<Message {} sys={} {} id={} sender={}/{} chat={}/{}>".format(
typ,
self.is_system_message(),
repr(self.text[:10]),
repr(self.text[:100]),
self.id,
c.id,
c.addr,