Hello can help me make this scenario using your API services ?
I have been integrate in my APP so how can make it
Real-time updates are not supported by our API; they are only available through our SDK.
For further details, refer to our documentation: Chat Realtime Events | Amity Docs
How can make it using the SDK can you provide me the steps how can make it ?
You can follow the documentation provided below to install and set up the SDK:
Hello when send message Text , Audio , Image , custom and put data in the meta data it done successfully! but something is happen when query the channel messages I got the messages without metadata and files in another array so how can know if this file relate to any message?
and how can find the metadata
Could you kindly double check your response, please? As the fileID is available within it. Additionally, for metadata, if you haven’t assigned any data to it, it won’t be displayed.
Sample:
{
“_id”: “661fd68241fe010f51f2da4e”,
“type”: “video”,
“channelSegment”: 8,
“metadata”: {
“test”: “metadata”
},
“tags”: ,
“childrenNumber”: 0,
“isDeleted”: false,
“editedAt”: “2024-04-17T14:02:42.240Z”,
“updatedAt”: “2024-04-17T14:02:42.240Z”,
“createdAt”: “2024-04-17T14:02:42.240Z”,
“path”: “6139895a4edf5cade427f468/chat/channel/622a0915c4b67f00d924b94b/message/622a0915c4b67f00d924b94b/661fd68241fe010f51f2da4e”,
“messageId”: “1fd72f6aa269ad6f6d88048e454d7f7b”,
“userId”: “_admin”,
“channelId”: “testtest”,
“flagCount”: 0,
“hashFlag”: null,
“reactions”: {},
“reactionsCount”: 0,
“parentId”: null,
“fileId”: “65f8450a1d5a9c8f36f3d9df”,
“data”: {
“text”: “test metadaata video msg”,
“thumbnailFileId”: “65f8450a1d5a9c8f36f3d9df_thumb_00001”
},
“mentionees”: ,
“myReactions”:
}