telegram_send_message
Telegram · macOS · Windows
효과: 보내기. 상태: 조건부 제공.
‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.
macOS
목적
내 계정으로 Telegram 메시지를 한 채팅에 보냅니다. 미리보기가 있는 쓰기 작업: 첫 번째 호출(confirm=false)은 미리보기를 반환하며 아무것도 보내지 않습니다. 사용자에게 보여 주고 승인한 후에만 confirm=true로 다시 호출하세요. chat_id는 반드시 telegram_list_chats에서 가져와야 하며 절대 임의로 만들지 마세요. 호출당 메시지 하나이며 대량 전송은 지원하지 않습니다.
필수 입력
chat_idmessage
입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.
권한 및 확인
스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.
- 이 플랫폼에서는 사용자가 승인한 앱, 계정 및 리소스만 사용하세요. 연결 및 권한 요구 사항은 이 도구의 플랫폼별 설명을 참조하세요. 이 카탈로그는 추가 OAuth 범위나 OS 권한이 있다고 주장하지 않습니다.
영문 정식 기술 스키마 — macOS
{
"properties": {
"account": {
"description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
"type": "string"
},
"chat_id": {
"description": "Chat id from telegram_list_chats.",
"type": "string"
},
"chat_name": {
"description": "The chat's name as telegram_list_chats showed it, echoed in the preview so the user sees who receives it.",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"message": {
"description": "Text to send (max 4096 characters).",
"type": "string"
}
},
"required": [
"chat_id",
"message"
],
"type": "object"
}문서 예시
telegram_send_message 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.
{
"chat_id": "5550100123",
"confirm": false,
"message": "Can we review the launch checklist on Tuesday?"
}Windows
목적
내 계정으로 Telegram 메시지를 한 채팅에 보냅니다. 미리보기가 있는 쓰기 작업: 첫 번째 호출(confirm=false)은 미리보기를 반환하며 아무것도 보내지 않습니다. 사용자에게 보여 주고 승인한 후에만 confirm=true로 다시 호출하세요. chat_id는 반드시 telegram_list_chats에서 가져와야 하며 절대 임의로 만들지 마세요. 호출당 메시지 하나이며 대량 전송은 지원하지 않습니다.
필수 입력
chat_idmessage
입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.
권한 및 확인
스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.
- 이 플랫폼에서는 사용자가 승인한 앱, 계정 및 리소스만 사용하세요. 연결 및 권한 요구 사항은 이 도구의 플랫폼별 설명을 참조하세요. 이 카탈로그는 추가 OAuth 범위나 OS 권한이 있다고 주장하지 않습니다.
영문 정식 기술 스키마 — Windows
{
"properties": {
"account": {
"description": "Which linked Telegram account to use: its label or id from telegram_list_accounts. Leave it out to use the default account.",
"type": "string"
},
"chat_id": {
"description": "Chat id from telegram_list_chats.",
"type": "string"
},
"chat_name": {
"description": "The chat's name as telegram_list_chats showed it, echoed in the preview so the user sees who receives it.",
"type": "string"
},
"confirm": {
"description": "Must be true to actually send. Without it, returns a preview.",
"type": "boolean"
},
"message": {
"description": "Text to send (max 4096 characters).",
"type": "string"
}
},
"required": [
"chat_id",
"message"
],
"type": "object"
}문서 예시
telegram_send_message 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.
{
"chat_id": "5550100123",
"confirm": false,
"message": "Can we review the launch checklist on Tuesday?"
}