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