Closed Hesammousavi closed 1 month ago
@putera @JayBizzle @JackEllis
Looks great. Can you please update the Available Methods section with this method?
Also, this should ideally be in the HasSharedLogic
trait.
I'm adding this with other changes myself. You can test the master branch in sometime (credited as well).
Problem Currently, when a user sends a message to a Telegram channel, handling errors can be challenging, making it difficult to take appropriate action when an exception occurs. This results in reduced flexibility for handling issues in real-time.
Solution This PR addresses the issue by introducing a mechanism to easily catch exceptions when sending messages via Telegram. It provides a way to define custom error-handling logic through a callback function, enabling developers to manage exceptions more effectively.
By offering this functionality, developers can now seamlessly react to errors, improving overall control and reliability of the notification process.
197
155
166