sendReaction
fun sendReaction(emoji: String, to: NodeId = NodeId.BROADCAST, channel: ChannelIndex = ChannelIndex(0), replyId: Int): MessageHandle(source)
Convenience: send an emoji reaction to an existing message.
Wraps the emoji in a MeshPacket with decoded.portnum = TEXT_MESSAGE_APP, decoded.emoji = 1 (indicating this is a reaction, not a standalone message), and decoded.reply_id set to replyId (the packet ID of the message being reacted to).
Return
a handle tracking delivery state
Since
0.2.0
Parameters
emoji
the emoji string (single emoji character or sequence)
to
the destination NodeId (the sender of the original message, or broadcast)
channel
the channel index the reaction should be sent on
replyId
the packet ID of the original message being reacted to
Throws
if not currently connected
if the encoded emoji exceeds the device limit