InvalidMessageTypeException always returns when I reply to File (image/jpeg) message

[Problem/Question]
When I send a text or file message with parentMessageId of which type is file message, parsing from json is failed.
The error is InvalidMessageTypeException.
It looks parent’s json['type'] is image/jpeg, not FILE type.
I assume this is the cause.

I think this is a critical issue because it always returns error when I use handler method which is in sendUserMessage and sendFileMessage to deal with a message with the parent is FILE.
Please fix it as soon as possible.
Thank you.


[SDK Version]
4.0.10

[Reproduction Steps]

  • Reply to File message in group channel
  • InvalidMessageTypeException returns in handler callback

[Frequency]
always

[Current impact]
I have workaround but it should be fixed as soon as possible because the handler doesn’t work at all.

It looks like you’ve already submitted a ticket with our Support team regarding this topic. As a result, I’ll close this thread.