Open Tehnari opened 7 years ago
I think we would need to differentiate between messages sent from notifications (such as assignment submissions) and messages sent from the Moodle message system. Thoughts?
One of the way is to put word Message from { user name } ... Ex.: Message from John Smith: Here we have a very importantn message ... :) For rest of messages like this: Message from the moodle system: ...
It will help if with messages from the user to Telegram bot will send user fullname (Ex.: Surname + " "+ Lastname) and then fullmesage. This can be added/changed on message_output_telegram.php on return value, just before $eventdata->fullmessage.