> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Mesaj

> Bir deneyim sohbeti, doğrudan mesaj veya grup sohbeti içinde gönderilen bir mesaj.

```json Example theme={null}
{
	"content": "Hey, are you available for a **quick call**?",
	"created_at": "2023-12-01T05:00:00.401Z",
	"id": "<string>",
	"is_edited": true,
	"is_pinned": true,
	"mentions": ["<string>"],
	"mentions_everyone": true,
	"message_type": "regular",
	"poll": {
		"options": [
			{
				"id": "<string>",
				"text": "<string>"
			}
		]
	},
	"poll_votes": [
		{
			"count": 42,
			"option_id": "<string>"
		}
	],
	"reaction_counts": [
		{
			"count": 42,
			"emoji": "<string>"
		}
	],
	"replying_to_message_id": "<string>",
	"updated_at": "2023-12-01T05:00:00.401Z",
	"user": {
		"id": "user_xxxxxxxxxxxxx",
		"name": "John Doe",
		"username": "johndoe42"
	},
	"view_count": 42
}
```

**content** `string | null` *required*

Markdown olarak biçimlendirilmiş mesaj içeriği. Mesajın metin içeriği yoksa null.

Örnek: `Hey, are you available for a **quick call**?`

**created\_at** `string\<date-time\>` *required*

Bu mesajın ilk oluşturulduğu zaman damgası.

Örnek: `2023-12-01T05:00:00.401Z`

**id** `string` *required*

**is\_edited** `boolean` *required*

Mesaj içeriğinin ilk gönderildikten sonra düzenlenip düzenlenmediği.

**is\_pinned** `boolean` *required*

Bu mesajın kolay erişim için kanalın en üstüne sabitlenip sabitlenmediği.

**mentions** `array\<string\>` *required*

Bu mesajda açıkça bahsedilen kullanıcı kimliklerinin listesi.

**mentions\_everyone** `boolean` *required*

Mesajın tüm kanal üyelerini bilgilendiren bir @everyone bahsi içerip içermediği.

**message\_type** `DmsPostTypes` *required*

Bu mesajın sınıflandırması: regular, system veya automated.

Kullanılabilir seçenekler: `regular`, `system`, `automated`

**poll** `object | null` *required*

Bu mesaja eklenmiş bir anket. Mesaj anket içermiyorsa null.

**alt öznitelikler**

**options** `array\<object\> | null` *required*

Anketin seçenekleri

**alt öznitelikler**

**id** `string` *required*

Anket seçeneğinin benzersiz tanımlayıcısı.

**text** `string` *required*

Anket seçeneğinin metni

**poll\_votes** `array\<object\>` *required*

Bu mesajdaki, belirli bir tepki türüne göre filtrelenmiş toplu tepki sayıları.

**alt öznitelikler**

**count** `integer` *required*

Tepki veren kullanıcı sayısı

Örnek: `42`

**option\_id** `string | null` *required*

Kullanılan tepki

**reaction\_counts** `array\<object\>` *required*

Bu mesajdaki, belirli bir tepki türüne göre filtrelenmiş toplu tepki sayıları.

**alt öznitelikler**

**count** `integer` *required*

Tepki veren kullanıcı sayısı

Örnek: `42`

**emoji** `string | null` *required*

Kısa kod biçiminde kullanılan emoji (:heart:)

**replying\_to\_message\_id** `string | null` *required*

Bu gönderinin yanıt verdiği mesajın benzersiz tanımlayıcısı. Bu bir yanıt değilse null.

**updated\_at** `string\<date-time\>` *required*

Bu mesajın son değiştirildiği zaman damgası.

Örnek: `2023-12-01T05:00:00.401Z`

**user** `object` *required*

Bu mesajı yazan kullanıcı.

**alt öznitelikler**

**id** `string` *required*

Kullanıcının benzersiz tanımlayıcısı.

Örnek: `user_xxxxxxxxxxxxx`

**name** `string | null` *required*

Kullanıcının herkese açık profilinde gösterilen görünen adı.

Örnek: `John Doe`

**username** `string` *required*

Kullanıcının herkese açık profilinde gösterilen benzersiz kullanıcı adı.

Örnek: `johndoe42`

**view\_count** `integer | null` *required*

Bu mesajın aldığı benzersiz görüntülenme sayısı. Bu kanal için görüntülenme takibi etkin değilse null.

Örnek: `42`


## Related topics

- [Gömülü Sohbet Doğrudan Mesajları](https://docs.whop.com/tr/developer/guides/chat/direct-messages.md)
- [Chat API](https://docs.whop.com/tr/developer/guides/chat.md)
- [Chat Öğesi](https://docs.whop.com/tr/developer/guides/chat/chat-element.md)
