mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-21 04:25:27 -04:00
fix: added missing channel property on message events (#25)
This commit is contained in:
@@ -47,8 +47,13 @@ export type ClientboundNotification =
|
||||
| { type: "Authenticated" }
|
||||
| ReadyPacket
|
||||
| ({ type: "Message" } & Message)
|
||||
| { type: "MessageUpdate"; id: string; data: Partial<Message> }
|
||||
| { type: "MessageDelete"; id: string }
|
||||
| {
|
||||
type: "MessageUpdate";
|
||||
id: string;
|
||||
data: Partial<Message>;
|
||||
channel: string;
|
||||
}
|
||||
| { type: "MessageDelete"; id: string; channel: string }
|
||||
| ({ type: "ChannelCreate" } & Channel)
|
||||
| {
|
||||
type: "ChannelUpdate";
|
||||
|
||||
Reference in New Issue
Block a user