# Function: getAllChats()

> **getAllChats**(): [`Chat`](../classes/Chat.md)[]

Defined in: [chat.ts:1210](https://github.com/laruss/react-text-game/blob/37ebb1fd49045bfbb1d2a2fa96b8f14a2f8c2644/packages/messenger/src/chat.ts#L1210)

Every defined chat, in definition order.

## Returns

[`Chat`](../classes/Chat.md)[]
