bots


Telegram bot message format


There is an image in the telegram docs showing a
Formatted message with an image and text under,
It's from TechCrunch.
I have tried to replicate this and failed.
How can one replicate this format.
I am using Python
def reply(msg=None, img=None):
if msg:
resp = urllib2.urlopen(BASE_URL + 'sendPhoto', urllib.urlencode({
'chat_id': str(chat_id),
'caption': msg,
})).read()
In case you are talking about this image here i'm pretty sure it was done with sendPhoto() method. Text can be placed under the image by using the optional caption parameter.
Telegram Bot API sendPhoto

Related Links

Microsoft Bot says “The process cannot access the file because it is being used by another process.”
When should we use all three (trait, free-text and keywords) search strategies in a user-defined entity?
alternative to wit.ai merge since it is deprecated now
my telegram bot keeps sending messages endlessly
Telegram: don't search my bot to start conversation
How to add MS bot to slack?
How to get the last executed command in a Telegram bot?
How can i customize answer of Bot Framework Help Command?
How can I identify the particular attachments when I click on a button in cards?
Accessing facebook user id for microsoft bot framework
Wit.ai Dynamic quick replies and random responses? How
I'm trying to implement a quote system in mIRC for my Twitch bot, reading from the text file works, but adding doesn't
How to set Slack bot presence “online” when using Events API
how to save the data using state clinet in bots
Connecting LUIS dialog to form dialog and mapping builtin fields
ValidationResult throws : “Object reference not set to an instance of an object”. when passing back choices

Categories

HOME
seedstack
exchange-server
add-on
systemd
website
iverilog
mongoid
moodle-api
dji-sdk
video-streaming
heuristics
getopenfilename
watch-os-3
clish
squirrel-sql
tomcat8
pfobject
activeadmin
tableview
sipp
web-push
openbravo
boolean-logic
sparkle
fusion
basic-authentication
envoy
locks
source-insight
autodesk-model-derivative
john-the-ripper
runtimeexception
code-rally
forms-authentication
elastica
gitolite
android-n
oauth2-playground
vb.net-to-c#
contactless-smartcard
autorelease
return-type
sidewaffle
prefetch
google-shopping-api
deferred-rendering
seadragon
perceptron
unhandled
green-threads
org-babel
abstract-factory
ipod
scala-macros
subview
pass-by-value
encryption-symmetric
tabris
network-printers
pbkdf2
visual-c++-2005
san
django-facebook
coalesce
libxml-js
hints
microformats
arel
xmlwriter
semantic-merge
idispatch
image-formats
monocross
prototypal-inheritance
affinetransform
glx
qtextbrowser
ognl
servlet-container
suphp
tabbarcontroller
firephp
autobench
motif
suggestbox
code-camp
synthesizer

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App