MediaMessage
public class MediaMessage : BaseMessage
Provides information for Media Message
-
provides caption of the Media Message
Declaration
Swift
@objc public var caption: String? { get set }
-
provides attachment information for the Attachment in Media message
Declaration
Swift
@objc public var attachment: Attachment? { get set }
-
provides filePath for the media message
Declaration
Swift
@objc public var filePath: String { get set }
-
Undocumented
Declaration
Swift
public static func mediaMessage(fromJSON message: [String : Any]?) -> (BaseMessage?, CometChatException?)
-
provides string value of mediaMessage Object
Declaration
Swift
@objc public func stringValue() -> String