Inherits from NSObject
Conforms to NSCoding
NSCopying
Declared in QBChatAttachment.h

Tasks

Properties

)

@property (nonatomic, copy, nullable) NSString *DEPRECATED_MSG_ATTRIBUTE ( "Deprecated in 2.10. Use object subscripting instead." )
Discussion

Any addictional data.

Warning: Deprecated in 2.10. Use object subscripting instead. @code QBChatAttachment *attachment = [QBChatAttachment new]; attachment[@“duration”] = @“45”; @endcode

Declared In

QBChatAttachment.h

ID

@property (nonatomic, copy, nullable) NSString *ID
Discussion

ID of attached element.

Declared In

QBChatAttachment.h

customParameters

@property (nonatomic, strong, readonly, nullable) NSDictionary<NSString*NSString*> *customParameters

name

@property (nonatomic, copy, nullable) NSString *name
Discussion

Attachment name.

Declared In

QBChatAttachment.h

type

@property (nonatomic, copy, nullable) NSString *type
Discussion

Type of attachment.

Can be any type. For example: audio, video, image, location, any other

Declared In

QBChatAttachment.h

url

@property (nonatomic, copy, nullable) NSString *url
Discussion

Content URL.

Declared In

QBChatAttachment.h

Instance Methods

objectForKeyedSubscript:

- (nullable NSString *)objectForKeyedSubscript:(NSString *)key

setObject:forKeyedSubscript:

- (void)setObject:(nullable NSString *)obj forKeyedSubscript:(NSString *)key