GroupChatActions
public class GroupChatActions
Specific actions for group chats
-
Group name
Declaration
Swift
public var name: String { get }
-
GroupChatActionsDelegate delegate
Declaration
Swift
public weak var delegate: GroupChatActionsDelegate? { get set }
-
Change the name of the group
Declaration
Swift
public func changeName(_ name: String)
Parameters
name
The new name
-
Add new participants to chat
Declaration
Swift
public func invite(participants: [String], message: String?)
Parameters
participant
Participants to be added
- message: Message to send in invitation
-
Expels a participant from chat
Declaration
Swift
public func expel(participant: ChatParticipant, completion: @escaping (Bool) -> Void)
Parameters
participant
Participant to be expelled