QNGroupChatActions
public class QNGroupChatActions
Specific actions for group chats
-
Group name
Declaration
Swift
public var name: String { get }
-
GroupChatActionsDelegate delegate
Declaration
Swift
public weak var delegate: QNGroupChatActionsDelegate? { get set }
-
Group deleted by owner
Declaration
Swift
public func deletedByOnwer(completion: @escaping () -> Void)
-
Add new participants to chat
Declaration
Swift
public func invite(participants: [String], message: String?, completion: @escaping ([QNChatParticipant]) -> Void)
Parameters
participant
Participants to be added
- message: Message to send in invitation
-
Expels a participant from chat
Declaration
Swift
public func expel(participant: QNChatParticipant, completion: @escaping () -> Void)
Parameters
participant
Participant to be expelled