Other user info

Hello! I have a conversation where there is myself and other user. How can I get information about the user I am chatting with? iOS. Thanks in advance for your help!

Hello @weeew , For your question, we recommend that you check this document: Get User Information.

Where can I find the ID of the other user? channel.getOtherUserId() - return empty
channel.object.membership.getMembers(filter: .all, sortBy: .firstCreated, roles: ) - empty too

Could you please check the sample code at this link: Query Members | Amity Docs ?

1 Like