Closed devjet closed 6 years ago
Hi there How to use optionalParams with sending(uploading) photos, for examle I need _disablenotification: true but when I use like this:
let optionalParams = { disable_notification: true }; slimbot.sendPhoto(TELEGRAM_CHAT_NAME, fileUpload,optionalParams)
It's not working thanks
Hi @devjet, what is the error you got?
@devjet, also check if using chat_id works. That's how the method should work e.g.
slimbot.sendPhoto(CHAT_ID, fileUpload, optionalParams)
You can refer to the API here.
Closed due to inactivity.
Hi there How to use optionalParams with sending(uploading) photos, for examle I need _disablenotification: true but when I use like this:
It's not working thanks