I have checked all the possibility to get the last message and unread message count from the Twilio channel. When tried to get the last message from the channel that I faced threading issue and also it was very slow.
So can anyone help me to achieve these things.