# How can the server send persistent messages to groups?

**URL:** <https://forum.heroiclabs.com/t/how-can-the-server-send-persistent-messages-to-groups/1732>\
**Category:** Game Design\
**Tags:** server-framework, groups\
**Created:** [June 25, 2021, 10:03am UTC](https://forum.heroiclabs.com/t/how-can-the-server-send-persistent-messages-to-groups/1732 "2021-06-25T10:03:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloudAle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/cloudale/32/300_2.png) [@cloudAle](https://forum.heroiclabs.com/u/cloudAle)\
**Post date:** [June 25, 2021, 10:03am UTC](https://forum.heroiclabs.com/t/how-can-the-server-send-persistent-messages-to-groups/1732/1 "2021-06-25T10:03:48Z")

</div>

Hi, what is the preferred way for server to send chat messages into group channels?

Case in point we want the server to send message into group channels for people finishing tournament on rank 1,2,3.

From what Chris discussed in the gitter, it could achieved by using nk.StreamSendRaw, but in case the message needs to be persistent we need to write to database directly, how can this be achieved?

Thanks!

---

<div class="post-metadata">

**Author:** ![zyro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/zyro/32/14_2.png) [@zyro](https://forum.heroiclabs.com/u/zyro)\
**Post date:** [August 16, 2021, 2:24pm UTC](https://forum.heroiclabs.com/t/how-can-the-server-send-persistent-messages-to-groups/1732/2 "2021-08-16T14:24:25Z")

</div>

@cloudAle The Nakama 3.5.0 release [introduced a simple runtime function](https://github.com/heroiclabs/nakama/commit/6317c6a2e4a867f57e2e383f3f2e615171e5555b) to do this - you can see the function name and signature there.

A corresponding documentation update is in progress, so keep an eye on the [function reference](https://heroiclabs.com/docs/nakama/server-framework/function-reference/) for more info soon.
