LikesApi
@interface LikesApi : NodeDependant
Provides access to Textile likes related APIs
-
Add a like for a specific block
Declaration
Objective-C
- (nonnull NSString *)add:(nonnull NSString *)blockId error:(NSError *_Nullable *_Nullable)error;
Swift
func add(_ blockId: String, error: NSErrorPointer) -> String
Parameters
blockId
The id of the block you want to add a like to
error
A reference to an error pointer that will be set in the case of an error
Return Value
The hash of the newly created like block