BotsMessageUtils
public struct BotsMessageUtils
Consists of utility methods for message payloads.
-
Get the message payload from the message text. Here text refers the string in the text attribute of the messages retreived from the database using the getConversationHistory method.
Declaration
Swift
public func getMessagePayload(message: String) -> BotsMessage?