Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

TelegramBot

Guides

  • TelegramBot Guide

Symbols

  • CreateBotSession
  • DeployBotWebhook
  • getMe
  • getUpdates
  • HandleBotUpdates
  • ImportTelegramFile
  • Object
  • sendMessage
  • sendPhoto
  • TelegramBot
KirillBelov`TelegramBot`
DeployBotWebhook
​
DeployBotWebhook
[bot]
deploy
bot
webhook
​
​
DeployBotWebhook
[bot,webhookName]
deploy
bot
webhook with specific
webhookName
​
​
DeployBotWebhook
[bot,updateHandler]
deploy
bot
webhook with specific
updateHandler
​
​
DeployBotWebhook
[bot,updateHandler,webhookName]
deploy
bot
webhook with specific
updateHandler
and webhookName
​
Details and Options

Examples  
(1)
Basic Examples  
(1)
Create the Bot:
In[1]:=
bot=
TelegramBot
["1247031088:AAGW73yzggrm4Tr7bldGCCaIrrwISNsdDzg"]
Out[1]=
TelegramBot
Name: WolframKernelBot

Create update handler:
In[2]:=
updateHandler[bot_TelegramBot,update_]:=​​
sendMessage
[bot,update["message","chat","id"],"Hello from the Wolfram Cloud! My current geo location is "<>StringTemplate["`1` `2` `3`"][$GeoLocationCountry,$GeoLocationCity,$GeoLocation]]
Deploy bot:
In[3]:=
DeployBotWebhook
[bot,updateHandler]
Out[3]=
CloudObject[
https://www.wolframcloud.com/obj/kirillbelovtest/027b0e3ae3d03cc3c1f6c604b7ed73fbbd2649b0
]
Go to the chat with the bot and let's send a message:
SeeAlso
TelegramBot
RelatedGuides
▪
TelegramBot Guide
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com