# Telegram bot 傳送格式
###### tags: `GSS` `LDL`
## 傳送按鈕(按下不顯示文字)
POST
```
https://api.telegram.org/bot935504963:AAEWfEozQkgYMdkwC_bfFZFS_p6rgsOJQeQ/sendMessage
```
Body
```json
{
"chat_id":"1097845889",
"text":"qweqwe",
"parse_mode":"HTML",
"reply_markup": {
"inline_keyboard": [
[{"text": "qweqe", "callback_data": "my_fancy_event_1"}]
]
}
}
```
## 快速回覆
POST
```
https://api.telegram.org/bot935504963:AAEWfEozQkgYMdkwC_bfFZFS_p6rgsOJQeQ/sendMessage
```
Body
```json
{
"chat_id":"1097845889",
"text":"qweqwe",
"parse_mode":"HTML",
"reply_markup": {
"keyboard": [
[{
"text": "Share my phone number"
}]
],
"resize_keyboard": true,
"one_time_keyboard": true
}
}
```
## url 按鈕
POST
```
https://api.telegram.org/bot935504963:AAEWfEozQkgYMdkwC_bfFZFS_p6rgsOJQeQ/sendMessage
```
Body
``` json
{
"chat_id":"1097845889",
"text":"qweqwe",
"parse_mode":"HTML",
"reply_markup": {
"inline_keyboard": [
[{"text": "qweqe", "url": "https://core.telegram.org/bots/api#location"}]
]
}
}
```
## 照片加文字加按鈕
POST
```
https://api.telegram.org/bot935504963:AAEWfEozQkgYMdkwC_bfFZFS_p6rgsOJQeQ/sendMessage
```
Body
```json
{
"chat_id":"1097845889",
"photo":"https://i.imgur.com/XtHlKMW.png",
"caption":"*Welcome to Bot Framework!*\nWelcome to Welcome Users bot sample! This Introduction card is a great way to introduce your Bot to the user and suggest some things to get them started. We use this opportunity to recommend a few next steps for learning more creating and deploying bots.",
"parse_mode":"Markdown",
"reply_markup": {
"inline_keyboard": [
[{"text": "qweqe", "callback_data": "my_fancy_event_1"}]
]
}
}
```