feat: read index
This commit is contained in:
@@ -75,9 +75,10 @@ export const channelApi = createApi({
|
||||
},
|
||||
}),
|
||||
sendChannelMsg: builder.mutation({
|
||||
query: ({ id, content, type = "text" }) => ({
|
||||
query: ({ id, content, type = "text", properties = "" }) => ({
|
||||
headers: {
|
||||
"content-type": ContentTypes[type],
|
||||
"X-Properties": properties,
|
||||
},
|
||||
url: `group/${id}/send`,
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user