Telegram Bot Tutorial - 2 - Webhook & GmailApp

Telegram Bot Tutorial - 2 - Webhook & GmailApp

Wim's Coding Secrets

6 лет назад

36,006 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@titorexpress1464
@titorexpress1464 - 23.03.2018 03:50

having problems with the e-mail updates... the message isn't coming. what's wrong!?

Ответить
@titorexpress1464
@titorexpress1464 - 23.03.2018 04:54

can't use getUpdates method while webhook is active

Ответить
@pujashaw8706
@pujashaw8706 - 13.07.2018 15:21

How do we get the webApp url

Ответить
@gchannel8524
@gchannel8524 - 16.08.2018 17:09

good job thanks for the tutorials

Ответить
@user-rk1gi7oj9q
@user-rk1gi7oj9q - 24.10.2018 00:43

Thanks a lot!

Ответить
@agrikridanto1172
@agrikridanto1172 - 04.11.2018 07:51

Nice tutorial,
If i have php project ('x') how to set up webhook ? Inside the project 'x' ? Or maybe i can set up in another project 'y' (in the same server of project 'x' )
Thanks

Ответить
@AmeeliaK
@AmeeliaK - 16.01.2019 20:29

This is sooo cool! Your tutorial is awesome. Not to fast, not to slow, and I'm learning Telegram bots and Google App Script at the same time.

Ответить
@alexeyev1ch620
@alexeyev1ch620 - 08.06.2019 23:46

Hi man, where i can take my var webAppUrl???

Ответить
@alfaguria
@alfaguria - 30.09.2019 13:12

Hello brother,
I need a program to post content from a column, cell by cell at a particular interval.

I want after every 1 minutes content from column A of the excel sheet get posted in telegram channel whenever the script is run.

For example after running the script at the content get posted as in such a manner from cells of the sheet.
Time= 1 min
Post message from Cell A1
Time= 2 min
Post message from Cell A2
.
.
.
and so on
Can you help me in this

Ответить
@dhanushalakshan2595
@dhanushalakshan2595 - 05.11.2019 09:02

is it necessary to use gmail app for that?

Ответить
@helgej.waterkannt5870
@helgej.waterkannt5870 - 28.03.2020 23:19

setWebhook was successful but via the bot in telegram I do not receive any email, I receive an email when running dopost but without content!
Can someone help me ?

Ответить
@matiasgomez9416
@matiasgomez9416 - 18.06.2020 21:31

When I run the function setWebhook() replies me, {"ok":true,"result":true,"description":"Webhook is already deleted"}

Ответить
@meowbiich1689
@meowbiich1689 - 07.07.2020 06:25

Hi Wim, i'm followed every instructions until the 5 video you've uploaded.
im just curious, is it possible if inputing some data to spreadsheet from telegram without getting email updates?

Ответить
@mimocrocodile5069
@mimocrocodile5069 - 09.07.2020 21:36

Hi Wim. Very useful video. Thanks. But I ran into a problem. Function doPost is never executed. How can check, what is the reason? (Sorry, English is not my native language). How can I check if my bot send POST request? And what is in POST request?

Ответить
@mimocrocodile5069
@mimocrocodile5069 - 10.07.2020 08:12

How about SSL certificate? Does your bot work without it?

Ответить
@aleksandramalakutsko401
@aleksandramalakutsko401 - 10.04.2021 17:56

OMG!!!! its work!!

Ответить
@AakashGuptaAaky
@AakashGuptaAaky - 17.12.2021 09:56

Hi there.. I am not getting any email when i am sending input to bot, working on new updated app script.. Please help.

Ответить
@mosebonacchi2392
@mosebonacchi2392 - 05.03.2022 20:23

Hi Wim's thank you for this tutorial, but I have an explanation to ask you, that I can't go on even if I don't know English well.
It is not clear to me what url you put in the webAppUrl variable, between the first and the second video this variable appeared and I cannot understand where you got that link.
Thanks for your help
good job

Ответить
@tyr731
@tyr731 - 24.04.2022 21:33

Dude email code doesn't work, please fix your code

Ответить
@VirgoINFP
@VirgoINFP - 13.05.2022 10:27

Ran into several issues:
1. The deployment part does not work for me on chrome . I copied every lines of codes. But it works on microsoft edge.
2. Did not received emails after sending message to bot. Probably my webhook wasn't set up right. When I run the setWebhook function, the message I get is {"ok":true,"result":true,"description":"Webhook is already deleted"}

Ответить
@emmnttvideogamemusic6021
@emmnttvideogamemusic6021 - 26.02.2023 20:14

Thank you for the tutorial. When setting the Webhook I got a message "WebHookAlreadyDeleted". I think the issue is that you there's a different way you need to add the URL.
I used the code from GitHub that referenced this playlist to fix this.

function setWebhook(){
var url = telegramUrl + "/setWebhook?url=" + webAppUrl;
var response = UrlFetchApp.fetch(url);
Logger.log(response.getContentText());
}

Ответить
@bikrampurkait3786
@bikrampurkait3786 - 13.04.2024 17:57

Thanks sir.

Ответить