QNGroupChatActions

public class QNGroupChatActions

Specific actions for group chats

Properties

  • Group name

    Declaration

    Swift

    public var name: String { get }

Api

  • invite(participants:) Asynchronous

    Add new participants to chat

    Declaration

    Swift

    public func invite(participants: [String]) async throws -> [QNChatParticipant]

    Parameters

    participant

    Participants 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 throws

    Parameters

    participant

    Participant to be expelled