CommentsApi
@interface CommentsApi : NodeDependant
Provides access to Textile comments related APIs
-
Add a comment to any block by id
Declaration
Objective-C
- (nonnull NSString *)add:(nonnull NSString *)blockId body:(nonnull NSString *)body error:(NSError *_Nullable *_Nullable)error;Swift
func add(_ blockId: String, body: String, error: NSErrorPointer) -> StringParameters
blockIdThe id of the block you want to add a comment to
bodyThe text of the comment to add
errorA reference to an error pointer that will be set in the case of an error
Return Value
The id of the new comment block
View on GitHub
CommentsApi Class Reference