@ ObjectiveCName ( "addReactionWithPeer:withRid:withCode:" ) public Command < Void > addReaction ( Peer peer , long rid , String code ) { return callback -> modules . getMessagesModule ( ) . addReaction ( peer , rid , code ) . then ( v -> callback . onResult ( v ) ) . failure ( e -> callback . onError ( e ) ) ; }
Adding reaction to a message