HyphenateChatSDK  3.8.7
Instance Methods | Properties | List of all members
EMCustomMessageBody Class Reference

#import <EMCustomMessageBody.h>

Inheritance diagram for EMCustomMessageBody:
EMMessageBody

Instance Methods

(instancetype) - initWithEvent:customExt:
 
() - EM_DEPRECATED_IOS
 
(instancetype) - initWithEvent:ext:
 
() - EM_DEPRECATED_IOS
 

Properties

NSString * event
 
NSDictionary< NSString *, NSString * > * customExt
 
NSDictionary * ext
 
- Properties inherited from EMMessageBody
EMMessageBodyType type
 

Detailed Description

@header EMCustomMessageBody.h @abstract Custom message body

Author
Hyphenate
Version
3.00

Custom message body

Method Documentation

◆ initWithEvent:customExt:

- (instancetype) initWithEvent: (NSString *)  aEvent
customExt: (NSDictionary< NSString *, NSString * > *)  aCustomExt 

Initialize a custom message body instance

Parameters
aEventCustom event
aCustomExtCustom extension dictionary
Returns
Custom message body instance

◆ initWithEvent:ext:

- (instancetype) initWithEvent: (NSString *)  aEvent
ext: (NSDictionary *)  aExt 

Initialize a custom message body instance

Parameters
aEventCustom event
aExtextension dictionary
Returns
Custom message body instance

Property Documentation

◆ customExt

- (NSDictionary<NSString *,NSString *>*) customExt
readwritenonatomiccopy

Custom extension dictionary

◆ event

- (NSString*) event
readwritenonatomiccopy

Custom event

◆ ext

- (NSDictionary*) ext
readwritenonatomiccopy

extension dictionary


The documentation for this class was generated from the following file: