> For the complete documentation index, see [llms.txt](https://doc.twake.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.twake.app/developers-api/api-reference/message.md).

# Message

*While users have the ability to create message complexes using the built-in formatting system, applications can go even further and offer many types of messages such as system messages for notifications or interactive messages for your most popular applications.*

## Group\_id and channel\_id:

1. Get the current front id:

   `channel_service.currentChannelFrontId`
2. With the channel front id, you will be able to get the channel id by doing this:

   `collections.collections.channels.manager.findByFrontId("My-Front-Id")`
3. Get the current group id:

   `workspaceService.currentGroupId`

## Message methods:

{% content-ref url="/pages/-MFkD-UdbkDG-qYmB8zN" %}
[POST Request](/developers-api/api-reference/message/post-request.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MFkORKwyA3jIAEDyj5r" %}
[DELETE Request](/developers-api/api-reference/message/delete-request.md)
{% endcontent-ref %}
