# Hesap makinesi işlevleri

## **Hesap makinesi üzerinden mesajlar nasıl gönderilir**

```
line_send_message(platform_id, text, buttons, attachments, quote_token, bot_group_id)
```

Bu işlev, belirtilen sohbete mesaj göndermenize yardımcı olur.

<table><thead><tr><th width="310.76171875">Parametreler</th><th>Açıklama</th></tr></thead><tbody><tr><td><mark style="color:$danger;"><strong>!</strong></mark><strong> platform_id</strong></td><td><p><strong>LINE'daki sohbet kimliği.</strong> </p><p>Sistem değişkenini iletebilirsiniz <a href="/pages/d4c9b60ab5fb1b22c9f439363d5194c0d4b5b51c"><code>platform_id</code>.</a></p></td></tr><tr><td><strong>text</strong></td><td><p><strong>Mesaj metni.</strong> </p><p>şu durumlarda isteğe bağlı bir parametredir: <code>attachments</code> parametresi sağlanmışsa.</p></td></tr><tr><td><strong>buttons</strong></td><td><p><strong>Mesajdaki düğmelerin bir dizisi.</strong></p><p><a href="#an-array-of-buttons-in-the-message">İsteğe bağlı bir parametre.</a></p></td></tr><tr><td><strong>attachments</strong></td><td><p><strong>Eklerin bir dizisi.</strong></p><p><a href="#an-array-of-attachments">İsteğe bağlı bir parametre.</a></p></td></tr><tr><td><strong>quote_token</strong></td><td><strong>Belirli bir mesaja yanıt vermek için yanıt belirteci.</strong> şu değişkeni iletebilirsiniz <code>line_quote_token</code> değişkeni.</td></tr><tr><td><strong>bot_group_id</strong></td><td><p><strong>Botun grup kimliği.</strong></p><p>Başka bir bağlı bot adına mesaj göndermeniz gerekiyorsa sağlanabilir. İsteğe bağlı bir parametre.</p></td></tr></tbody></table>

### **Mesajdaki düğmelerin bir dizisi**

buttons parametresi de akış bloğundaki düğmelerle aynı şekilde oluşturulur. Diziyi oluşturmayı kolaylaştırmak için, akış bloğunda arayüzü kullanarak düğmeler oluşturabilir ve oluşturulan verileri kopyalayabilirsiniz.

1\. Adım. Blokta düğmeler oluşturun.

<div data-with-frame="true"><figure><img src="/files/eb3ad902acae520f65c258cd40ab36d5d4a00d99" alt=""><figcaption></figcaption></figure></div>

2\. Adım. Gelişmiş düğme ayarlarını kopyalayın.

<div data-with-frame="true"><figure><img src="/files/89fac4e102a824a1c5cfe6301fe0a23ead73edc9" alt=""><figcaption></figcaption></figure></div>

**Bir düğme dizisi örneği:**

`[{"line":0,"index_in_line":0,"text":"Siteyi ziyaret et","type":"inline","url":"`[`https://google.com","callback_link":false`](about:blank)`}]`

### **Eklerin bir dizisi**

The `attachments` parametresi, gönderilecek ekleri tanımlayan sözlüklerden oluşan bir dizidir.&#x20;

Dizideki her ek, ek türünü (`attachment_type`) ve URL'sini (`attachment_url`).

Örnek:

attach\_list = \[{"attachment\_type": "image", "attachment\_url": "[https://files.site.com/my\_image.jpg](https://files.mavibot.ai/uploads/message_files/ca31b6d2ff3c2eef9c86bb0cc820412057b0ca004bd6c0e402c8df793c42f17d.jpg)"}]

İçin olası değerler `attachment_type`:

* image
* video
* audio


---

# 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.mavibot.ai/doc/tr/chatbot/mesajlasma-uygulamalari/line_chatbot/api.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.
