Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

telegraf js sendmessage

app.on('message', function (ctx, next) {
    ctx.telegram.sendMessage(ctx.message.chat.id,
      "File content at: " + new Date() + " is: 
" + file
    )
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #telegraf #js #sendmessage
ADD COMMENT
Topic
Name
3+6 =