QNGroupChatActions
public class QNGroupChatActions
Specific actions for group chats
-
Group name
Declaration
Swift
public var name: String { get }
-
invite(participants:Asynchronous) Add new participants to chat
Declaration
Swift
public func invite(participants: [String]) async throws -> [QNChatParticipant]Parameters
participantParticipants to be added
- message: Message to send in invitation
-
expel(participant:Asynchronous) Expels a participant from chat
Declaration
Swift
public func expel(participant: QNChatParticipant) async throwsParameters
participantParticipant to be expelled