CPChatGroupConversation
@objc
public class CPChatGroupConversation : CPChatConversation
This class represents a chat session among members of a chat group.
-
The url of the conversation
Declaration
Swift
@objc override public var url: String { get }
-
The url of the conversation messages
Declaration
Swift
@objc override public var messagesUrl: String { get }
-
Indicate to a participant a message has been displayed to the user.
Declaration
Swift
@objc public override func displayed(message: CPMessage, _ completion: @escaping ErrorCompletionBlock)
Parameters
message
The message object that has been displayed to the user.
completion
Code block to execute upon send completion. This block returns an error if one occurred or nil.