AndreiRegiani / termgram

Friendly terminal-based Telegram client
GNU General Public License v3.0
65 stars 5 forks source link

Display notification messages #6

Open AndreiRegiani opened 6 years ago

AndreiRegiani commented 6 years ago

Show in message logs events like "new pinned message", "new user added", etc.

Handle these events here:

app.event_polling(update)

P.S. A base implementation for these events were done on "show recent history" but not finished:

app.on_selected_chatroom(event, entity): https://github.com/Hackermen/termgram/blob/master/termgram/app.py#L195

Notification messages must appear in history (recent chat) and in the event polling.