# How to find group chat message by it's messageId?

**URL:** <https://forum.heroiclabs.com/t/how-to-find-group-chat-message-by-its-messageid/4659>\
**Category:** Runtime Framework\
**Tags:** groups\
**Created:** [November 28, 2023, 11:44am UTC](https://forum.heroiclabs.com/t/how-to-find-group-chat-message-by-its-messageid/4659 "2023-11-28T11:44:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![electricpunch](https://avatars.discourse-cdn.com/v4/letter/e/54ee81/32.png) [@electricpunch](https://forum.heroiclabs.com/u/electricpunch)\
**Post date:** [November 28, 2023, 11:44am UTC](https://forum.heroiclabs.com/t/how-to-find-group-chat-message-by-its-messageid/4659/1 "2023-11-28T11:44:44Z")

</div>

Hello. I would like to know if it is possible to get a specific message by it’s id?  
I want to add special “vote message”: users can tap on the buttons in that message to vote and message should be updated (show votes count).

As I understand, a message on client can only be updated by the sender of that message. So I want to update it on server via RPC and also start a coroutine on client to check the updates. But there is no function like “GetMessageByID” to get updated message. It’s too expensive to get a list of all chat messages every second and search for specific message.

Can you help with it? Thanks.

---

<div class="post-metadata">

**Author:** ![ftkg](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/ftkg/32/1180_2.png) [@ftkg](https://forum.heroiclabs.com/u/ftkg)\
**Post date:** [November 29, 2023, 10:40pm UTC](https://forum.heroiclabs.com/t/how-to-find-group-chat-message-by-its-messageid/4659/2 "2023-11-29T22:40:31Z")

</div>

Hello @electricpunch, there is no function to retrieve a message by its id.  
As an alternative simpler option to achieve that, instead of updating the message, you could bind each message to a supplementary label next to it that will display the vote count separately. Do you think that works for you?
