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) -> StringParameters
blockIdThe id of the block you want to add a like to
errorA 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
View on GitHub
LikesApi Class Reference