POST Message/MessageApi/GetUserOrChannelMessages
Request Information
URI Parameters
None.
Body Parameters
MessageSearchInputModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ConversationId | globally unique identifier |
None. |
|
| ChannelId | globally unique identifier |
None. |
|
| MessageId | globally unique identifier |
None. |
|
| ReceiverId | globally unique identifier |
None. |
|
| SenderId | globally unique identifier |
None. |
|
| IsChannel | boolean |
None. |
|
| IsRead | boolean |
None. |
|
| ParentMessageId | globally unique identifier |
None. |
|
| SearchText | string |
None. |
|
| IsPinned | boolean |
None. |
|
| IsStarred | boolean |
None. |
|
| PageSize | integer |
None. |
|
| PageNumber | integer |
None. |
|
| Pagination | boolean |
None. |
|
| IsGroupChat | boolean |
None. |
|
| IsFiles | boolean |
None. |
|
| LastSyncDateTime | date |
None. |
|
| FileDuration | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConversationId": "13cfcbb9-0970-4169-8754-31c4a056707a",
"ChannelId": "976674e2-9c7a-47cd-bf42-be635c841e34",
"MessageId": "b063fbd7-0052-4a6f-a3e0-bf0f7b3f0206",
"ReceiverId": "6a6a21d9-0ff7-4de3-8af5-91257b5fb2fa",
"SenderId": "926d5120-99de-4e77-877f-7e6e6f7074f7",
"IsChannel": true,
"IsRead": true,
"ParentMessageId": "dbd2fe50-7b39-47d0-a5d4-832825025ab3",
"SearchText": "sample string 3",
"IsPinned": true,
"IsStarred": true,
"PageSize": 6,
"PageNumber": 7,
"Pagination": true,
"IsGroupChat": true,
"IsFiles": true,
"LastSyncDateTime": "2025-12-14T01:24:58.3435885+00:00",
"FileDuration": "sample string 10"
}
application/xml, text/xml
Sample:
<MessageSearchInputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Communicator.Models.Messages"> <ChannelId>976674e2-9c7a-47cd-bf42-be635c841e34</ChannelId> <ConversationId>13cfcbb9-0970-4169-8754-31c4a056707a</ConversationId> <FileDuration>sample string 10</FileDuration> <IsChannel>true</IsChannel> <IsFiles>true</IsFiles> <IsGroupChat>true</IsGroupChat> <IsPinned>true</IsPinned> <IsRead>true</IsRead> <IsStarred>true</IsStarred> <LastSyncDateTime>2025-12-14T01:24:58.3435885+00:00</LastSyncDateTime> <MessageId>b063fbd7-0052-4a6f-a3e0-bf0f7b3f0206</MessageId> <PageNumber>7</PageNumber> <PageSize>6</PageSize> <Pagination>true</Pagination> <ParentMessageId>dbd2fe50-7b39-47d0-a5d4-832825025ab3</ParentMessageId> <ReceiverId>6a6a21d9-0ff7-4de3-8af5-91257b5fb2fa</ReceiverId> <SearchText>sample string 3</SearchText> <SenderId>926d5120-99de-4e77-877f-7e6e6f7074f7</SenderId> </MessageSearchInputModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfCommunicatorJsonResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | CommunicatorJsonResult |
None. |
|
| SerializerSettings | JsonSerializerSettings |
None. |
|
| Encoding | Encoding |
None. |
|
| Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.