The Chat API allows users to communicate via text embedded directly within the application.

See the developer guide for a few chat examples.

## Index

### Interfaces

- ChatEvents
- ChatHistoryEntryTypes
- ChatHistorySearchOptions
- ChatInfo
- ChatMember
- ChatServiceEvents
- CreateChatChannelOptions
- DirectChatInfo
- IChatEvent
- MembershipChatInfo

### Classes

- ChannelCreatedHistoryEntry
- Chat
- ChatChannel
- ChatEvent
- ChatHistoryEntry
- ChatJoinedEvent
- ChatLeftEvent
- ChatMessageEvent
- ChatNameChangedEvent
- ChatPermissionManager
- ChatRemovedEvent
- ChatRoom
- ChatService
- ChatTopicChangedEvent
- DirectChat
- MembershipChat
- MessageChatHistoryEntry
- NameChangedChatHistoryEntry
- TopicChangedChatHistoryEntry
- UserAddedChatHistoryEntry
- UserAddedEvent
- UserJoinedChatHistoryEntry
- UserJoinedEvent
- UserLeftChatHistoryEntry
- UserLeftEvent
- UserRemovedChatHistoryEntry
- UserRemovedEvent

### Type aliases

- ChatMembership
- ChatPermission
- ChatType

### Enumerations

- ChatTypes

## Type aliases

### ChatMembership

ChatMembership: "public" | "private"

The possible types of ChatInfo.membership.

### ChatPermission

ChatPermission: "create_chat" | "remove_chat" | "join_chat" | "leave_chat" | "add_chat_user" | "remove_chat_user" | "set_chat_name" | "set_topic" | "manage_chat_permissions"

The possible permissions a chat can have.

### ChatType

ChatType: DIRECT | CHANNEL | ROOM

The valid strings for a ChatInfo.chatType.