code: @ObjectiveCName("updateMessageWithPeer:withText:withRid:")
      public Promise<Void> updateMessage(@NotNull Peer peer, @NotNull String text, long rid) {
          return modules.getMessagesModule().updateMessage(peer, text, rid);
      }
docs: Update Message
  
  @param peer destination peer
  @param text message text
  @param rid  message rundom id