zevlg / telega.el

GNU Emacs telegram client (unofficial)
https://zevlg.github.io/telega.el/
GNU General Public License v3.0
1.09k stars 85 forks source link

FR: add custom option to control chat inserters per root view #446

Open qingshuizheng opened 9 months ago

qingshuizheng commented 9 months ago

Hello @zevlg ,

This has been discussed in telega.el channel: https://t.me/emacs_telega/42785

With this snippet to get a telega-view-folders view, but with compat inserter, but the new msg keeps coming in.

(let ((telega-inserter-for-chat-button #'telega-ins--chat-compact))
  (telega-view-folders))

You mentioned that we could add custom option to control chat inserters per root view.

There's no hurry, thanks!

Zheng