7.5 Get Group By Id
[[BayunCore sharedInstance] getGroupById:self.groupId success:^(Group* group) {
String *groupId = group.groupId;
String *groupName = group.groupName;
GroupType groupType = group.groupType;
NSArray<GroupMember*> *groupMembers = group.groupMembers;
} failure:^(BayunError error) {
NSLog(@"Error getting Group by Id");
}];BayunCore.sharedInstance().getGroupById("", success: {(group)in
let groupId : String = group!.groupId
let groupName : String = group!.groupName
let groupMembers : [GroupMember] = group!.groupMembers
let groupType : GroupType = group!.groupType
}, failure: {(bayunErrorCode)in
NSLog("Error getting Group by Id")
})Last updated