Instead of having just one method to get the next message, have a method to get any event and return it as an object, then have get_message call that method and filter it to specifically message objects.
The goal is to have a more robust way of dealing with message deletion events and such.
Instead of having just one method to get the next message, have a method to get any event and return it as an object, then have get_message call that method and filter it to specifically message objects.
The goal is to have a more robust way of dealing with message deletion events and such.