You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Say I send a message I would like to modify later. Do I have to look at the events to find that message ID (...or way better: the message object), or is there another way?
(It seems that chat does send you the new message ID in response to the POST to chats/.../messages/new, but I don't know how convoluted the process would be to bubble this response all the way to the Rooms class.)
The text was updated successfully, but these errors were encountered:
@badp There is now an alternative way to do this: you can set the on_message_sent method on a Client object, which will get called when a message is sent through ChatExchange. The on_message_sent method needs two parameters, the first for the message ID and the second for the room ID.
Say I send a message I would like to modify later. Do I have to look at the events to find that message ID (...or way better: the message object), or is there another way?
(It seems that chat does send you the new message ID in response to the POST to
chats/.../messages/new
, but I don't know how convoluted the process would be to bubble this response all the way to theRooms
class.)The text was updated successfully, but these errors were encountered: