Browse SDKs · iOS
SDKsiOS

Retrieve the @all tag

Retrieve the special all-members tag defined by OpenIM iOS SDK.

Copy
NSString *tag = [OIMMessageInfo getAtAllTag];

The method returns the SDK-defined tag for all group members. It is neither a real user ID nor a conversation's groupAtType; use it only to build and recognize @all messages.