MXToolkit Class Reference
Inherits from | NSObject |
---|---|
Declared in | MXToolkit.h |
– saveFileToChat:filePath:name:completionHandler:
Import a file to a chat.
- (void)saveFileToChat:(MXChat *)chat filePath:(NSString *)filePath name:(NSString *)fileName completionHandler:(void ( ^ _Nullable ) ( NSError *_Nullable errorOrNil ))completionHandler
Parameters
chat |
target chat |
---|---|
filePath |
The file local path |
fileName |
The file name to save as |
completionHandler |
A block to be executed when the action completes. |
Declared In
MXToolkit.h