Telegram message error


i am getting this error after checking the chat id and these are the details


image

Hi @virajent12,
Please share your code, also do regenerate the secure token as you have exposed it publicly on the forum.

@raghav.srivastava how to open the save file in ubuntu which i have created yesterday
but how i can access that code because the folder I have created is not showing.

Hi @virajent12,
Run the following command to list all the files and folders in the terminal:
ls -la
Then use
cd folder_name to get into it
Then use
nano file_name
to open the file in nano editor.

Do let me know if you need any other help.



code for telegram

@raghav.srivastava Thanks I have open it and if we have entered the folder in ubuntu and want to change to the go to another folder then want is the command

@virajent12 I am looking into your code. Use cd .. to go up a directory(folder).

Hi @virajent12 ,

Temporarily, you can disable the ssl validation in request and it should work.

response = requests.request(
            "POST",
            url,
            params=data,
            verify=False
        )

Do let me know in case you need further assistance.

I tried it but it is not working the error is the same

@virajent12 I have notified @rahul.singh1 regarding this and he’ll get back to you shortly.

Thanks Pls reply it as soon as possible

@virajent12 Correction in your telegram URL. Put it as β€˜api.telegram.org’ instead of 'api.telgram.org’

2 Likes

Thanks I have change it but the error is the same

@virajent12

Undo above changes and try again once.

Tried it but same error is there any issue in the telegram bot adding process to channel