邀请榜单开关
- onEnterRoom:result:()回调后, enable的值才准确
- enable = 1 开
- enable = 0 关
NSInteger enable = self.livingSDK.roomInfo.pageConfig.invitationList.enable;
获取邀请榜单
- (void)getInvitationList:(void (^__nullable)(NSInteger code , TFInvitationListData _Nullable model,TFError _Nullable error))callback
调用示例:
[self.talkfunSDK getInvitationList:^(NSInteger code, TFInvitationListData * _Nullable model, TFError * _Nullable error) {
if (code == 0) {
}else{
}
}];