Telegram code issue

3 4 5
CAn someone help me with this code?
its now working and i have followed all the steps that were mentioned

In fucntion sendmessage(message), the data value, change chat -> text


I changed it but it still shows the same error

Your telegram id, there is a gap in the string in the end. Can you correct and tell, if it sends?

Hi @shubham11gupta10
I have gone through your code.Please change "chat " to “text” in function sendmessage(message) first of all…please provide the output / error screenshot after changing this one…Thank you

I will suggest you to check the telegram id and telegram api .