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`
sendPhoto
​
sendPhoto
[bot,chatId,photo]
send photos
​
​
bot@
sendPhoto
[chatId,photo]
another way to call this method
​
Details

Examples  
(1)
Basic Examples  
(1)
Create the bot:
In[1]:=
bot=
TelegramBot
["1247031088:AAGW73yzggrm4Tr7bldGCCaIrrwISNsdDzg"]
Out[1]=
TelegramBot
Name: WolframKernelBot

Send image to Kirill Belov (@KirillBelovTest):
In[2]:=
sendPhoto
[bot,490138492,Plot[{Sin[x],Cos[x]},{x,-3,3}]]
Out[2]=
okTrue,resultmessage_id1996,fromid1247031088,is_botTrue,first_nameWolframKernelBot,usernameWolframKernelBot,chatid490138492,first_nameKirill,last_nameBelov,usernameKirillBelovTest,typeprivate,date1671614624,photo{file_idAgACAgIAAxkDAAIHzGOi0KAnAtGwZCZPBZNJSNYs4QHiAAJVwDEbX8MRSYRuBvZfwD80AQADAgADcwADLAQ,file_unique_idAQADVcAxG1_DEUl4,file_size1059,width90,height56,file_idAgACAgIAAxkDAAIHzGOi0KAnAtGwZCZPBZNJSNYs4QHiAAJVwDEbX8MRSYRuBvZfwD80AQADAgADbQADLAQ,file_unique_idAQADVcAxG1_DEUly,file_size7781,width239,height148}
The result is:
SeeAlso
TelegramBot
 
▪
sendMessage
RelatedGuides
▪
TelegramBot Guide
""

© 2025 Wolfram. All rights reserved.

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