Conversation
public class Conversation : AppEntity
Conversation class contains information of the user last messages.
-
provides conversationId of the Conversation
Declaration
Swift
@objc public var conversationId: String? { get set }
-
provides conversation type of the Conversation
Declaration
Swift
@objc public var conversationType: CometChat.ConversationType { get set }
-
provides the last message of the Conversation
Declaration
Swift
@objc public var lastMessage: BaseMessage? { get set }
-
provides the conversation with Object of the Converation
Declaration
Swift
@objc public var conversationWith: AppEntity? { get set }
-
provides the unread mesage count of the Conversation
Declaration
Swift
@objc public var unreadMessageCount: Int { get set }
-
provides the updatedAt timestamp of the Conversation
Declaration
Swift
@objc public var updatedAt: Double { get set }
-
Provides the string representation of onversation object.
Declaration
Swift
@objc public func stringValue() -> String