sendMessageEncoded method

Future<DecodedMessage?> sendMessageEncoded(
  1. Conversation conversation,
  2. EncodedContent encoded
)

This sends the already encoded message to the conversation. This is identical to sendMessage but can be helpful when you have already encoded the message to send. If it cannot be decoded then it still sends but this returns null.

Implementation

Future<DecodedMessage?> sendMessageEncoded(
  Conversation conversation,
  xmtp.EncodedContent encoded,
) =>
    _conversations.sendMessageEncoded(conversation, encoded);