# Message Type

TapTalk.io use a predefined type for each chat message bubble as shown below:

<table data-header-hidden><thead><tr><th width="332.3333333333333">TapTalk Chat Message Type Name</th><th width="86">Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>TapTalk Chat Message Type Name</strong></td><td><strong>Type</strong></td><td><strong>Description</strong></td></tr><tr><td>TAPChatMessageTypeMessage</td><td>1001</td><td>Used for text message bubble.</td></tr><tr><td>TAPChatMessageTypeImage</td><td>1002</td><td>Used for image message bubble.</td></tr><tr><td>TAPChatMessageTypeVideo</td><td>1003</td><td>Used for video message bubble.</td></tr><tr><td>TAPChatMessageTypeFile</td><td>1004</td><td>Used for file message bubble.</td></tr><tr><td>TAPChatMessageTypeLocation</td><td>1005</td><td>Used for location message bubble.</td></tr><tr><td>TAPChatMessageTypeContact*</td><td>1006</td><td>Used for contact message bubble *(coming soon).</td></tr><tr><td>TAPChatMessageTypeSticker*</td><td>1007</td><td>Used for contact message bubble *(coming soon).</td></tr><tr><td>TAPChatMessageTypeLink</td><td>1010</td><td>Used for message bubble that contains URL.</td></tr><tr><td>TAPChatMessageTypeSystemMessage</td><td>9001</td><td>Used for system message bubble</td></tr><tr><td>TAPChatMessageTypeUnreadMessageIdentifier</td><td>9002</td><td>Used to mark the start of unread messages in chat room</td></tr></tbody></table>

{% hint style="info" %}
**TapTalk.io Chat Message Type**

1xxx for Standard Message Bubble\
9xxx for System Message Bubble\
3xxx for User Customized Message Bubble

If you wish to create custom message bubble, please set your customized chat message bubble type with **3** as prefix (e.g. 3001).
{% endhint %}

{% hint style="info" %}
You can add your own customized chat message bubble by following the instructions in [Customized Chat Message Bubble Page](https://docs.taptalk.io/powertalk-chat-sdk-documentation/powertalk-ios/customized-chat-message-bubble)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.taptalk.io/powertalk-chat-sdk-documentation/powertalk-ios/message-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
