PyzeMessaging

@interface PyzeMessaging : PyzeCustomEvent

PyzeMessaging

Subclass of PyzeCustomEvent class used post details of the events related to Messaging.

Since

v3.0.5
  • Post details of Message sent

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postMessageSent:(nonnull NSString *)uniqueId
             withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postMessageSent(_ uniqueId: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    uniqueId

    Message identifier.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of Message sent

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postMessageSentOfType:(PyzeMessageType)messageType
                     withUniqueId:(nonnull NSString *)uniqueId
                   withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postMessageSent(of messageType: PyzeMessageType, withUniqueId uniqueId: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    messageType

    Message type

    uniqueId

    Message identifier.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of message received.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postMessageReceived:(nonnull NSString *)uniqueId
                 withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postMessageReceived(_ uniqueId: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    uniqueId

    message identifier

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of message received.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postMessageReceivedOfType:(PyzeMessageType)messageType
                         withUniqueId:(nonnull NSString *)uniqueId
                       withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postMessageReceived(of messageType: PyzeMessageType, withUniqueId uniqueId: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    messageType

    Message type

    uniqueId

    message identifier

    dictionary

    Additional custom attributes app would like to share with server.

  • Post details of the New conversation created.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postMessageNewConversation:(nonnull NSString *)uniqueId
                        withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postMessageNewConversation(_ uniqueId: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    uniqueId

    Conversation identifier.

    dictionary

    Additional custom attributes app would like to share with server.

  • Post voice call details.

    Since

    v3.0.5

    Declaration

    Objective-C

    + (void)postMessageVoiceCall:(nonnull NSString *)uniqueId
                  withAttributes:(nonnull NSDictionary *)dictionary;

    Swift

    class func postMessageVoiceCall(_ uniqueId: String, withAttributes dictionary: [AnyHashable : Any] = [:])

    Parameters

    uniqueId

    Call identifier.

    dictionary

    Additional custom attributes app would like to share with server.