toggleReaction

open fun toggleReaction(    @NonNull view: View,     @NonNull message: BaseMessage,     @NonNull key: String,     @Nullable handler: OnCompleteHandler)

Adds the reaction with key if the current user doesn't add it, otherwise the reaction will be deleted

Parameters

view

View displaying the reaction with key

message

Message to which the reaction will be applieds

key

Key of reaction

handler

Callback handler called when this method is completed since 3.0.0