Instance Methods | |
(V2TIMElem *) | - nextElem |
(void) | - appendElem: |
Properties | |
NSString * | groupID |
V2TIMGroupTipsType | type |
V2TIMGroupMemberInfo * | opMember |
NSArray< V2TIMGroupMemberInfo * > * | memberList |
NSArray< V2TIMGroupChangeInfo * > * | groupChangeInfoList |
NSArray< V2TIMGroupMemberChangeInfo * > * | memberChangeInfoList |
uint32_t | memberCount |
- (V2TIMElem *) nextElem |
Get the next Elem. If your message has multiple Elems, you can get the next Elem object from the current Elem. If the return value is nil, it means the Elem acquisition is over. For detailed usage, please refer to the document Message sending and receiving
- (void) appendElem: | (V2TIMElem *) | elem |
Add the next element
To configure multiple elements, after creating a Message object, you can add the next element via the element object of Message. The following is the sample code for creating V2TIMTextElem and V2TIMCustomElem:
V2TIMMessage *msg = [[V2TIMManager sharedInstance] createTextMessage:"text"]; V2TIMCustomElem *customElem = [[V2TIMCustomElem alloc] init]; customElem.data = ["自定义消息" dataUsingEncoding:NSUTF8StringEncoding]; [msg.textElem appendElem:customElem];
|
readnonatomicstrong |
Group ID.
|
readnonatomicassign |
Group event notification type.
|
readnonatomicstrong |
Operator.
|
readnonatomicstrong |
List of users to be operated on.
|
readnonatomicstrong |
Group profile change information list. This is valid only when the value of type is V2TIM_GROUP_TIPS_TYPE_GROUP_INFO_CHANGE.
|
readnonatomicstrong |
Group member change information list. This is valid only when the value of tipsType is V2TIM_GROUP_TIPS_TYPE_MEMBER_INFO_CHANGE.
|
readnonatomicassign |
Number of current group members. This is valid only when the value of tipsType is V2TIM_GROUP_TIPS_TYPE_INVITE、TIM_GROUP_TIPS_TYPE_QUIT_GRP or TIM_GROUP_TIPS_TYPE_KICKED.