OpenChatIntent
@objc(BDKOpenChatIntent)
public class OpenChatIntent : NSObject, Intent
Represents the intent of starting a chat.
-
The intent unique identifier.
Declaration
Swift
public let uuid: UUID -
Generates a new
OpenChatIntentinstance from the parameter provided.Declaration
Swift
@objc public static func openChat(from notification: ChatNotification) -> OpenChatIntent?Parameters
notificationThe
ChatNotificationinstance from which open a chat. -
Instantiate a new
OpenChatIntentinstance encapsulating the intent of opening a chat for the channelId providedDeclaration
Swift
@objc public static func openChat(channelId: String) -> OpenChatIntentParameters
channelIdThe channelId
-
Generates a new
OpenChatIntentinstance from the parameter provided.Declaration
Swift
@objc public static func openChat(with participant: String) -> OpenChatIntentParameters
participantThe counterpart id.
View on GitHub
OpenChatIntent Class Reference