Warning: is_dir(): open_basedir restriction in effect. File(/home/adsmembe/domains/adsmember.com/public_html/wp-content/plugins/wpdiscuz/themes/default) is not within the allowed path(s): (/www/wwwroot/adsmember.com/:/tmp/) in /www/wwwroot/adsmember.com/wp-content/plugins/wpdiscuz/forms/wpdFormAttr/Form.php on line 139



According to researches by the adsmember team
टेलीग्राम बॉट ट्यूटोरियल – 1 – बॉट और Google Apps स्क्रिप्ट सेट करना

source

Rate us
0 0 votes
Article Rating
Subscribe
Notify of
guest
29 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Wim's Coding Secrets
Wim's Coding Secrets
1 year ago

I've added code to send keyboard menu to the user, you can find it here: https://stackoverflow.com/questions/48431352/telegram-bot-keyboard-with-google-apps-script/72147367#72147367

Arun Kumar
Arun Kumar
1 year ago

Bro, i ve found ur tutorial so helpful… Kindly help me to do same thing with telegram group.. i have added my bot to a group buts it's not reading the messages from group.. pls help

Khosrow Eghbali Shalamzari
Khosrow Eghbali Shalamzari
1 year ago

hi wim, good job!
how can i send 2 different messages.
for example: i click the start button then it shows me hello… then i type the message and it shows me thanks for your comments.

noobtoob
noobtoob
1 year ago

Hello mate.. Can I able to send a specific telegram channel message into googlesheet thx…

Isaac Magalhaes
Isaac Magalhaes
1 year ago

hello, is it possible to make it so each word uses a new cell?

Home Ace
Home Ace
1 year ago

Is it possible to use Google App Script to make a telegram bot that forwards from one channel to another (with the possibility to filter posts)

Aleksandra Malakutsko
Aleksandra Malakutsko
1 year ago

Hello from 2021! Its work!

Home Ace
Home Ace
1 year ago

Hey thanks for an awesome video!
Is there anyway to use app script to forward massages from one channel to the next?

DCS-HMI-PLC-SCADA
DCS-HMI-PLC-SCADA
1 year ago

2021 is it still working. My bot once done by following this is not working anymore.

Apolisk k
Apolisk k
1 year ago

спасибо что ты есть

RP Chaitanya
RP Chaitanya
1 year ago

How to do it the other way round…. When a cell is updated in Google sheet I need notification in my telegram channel… Any advice would be great help….

marcus frederick
marcus frederick
1 year ago

How to add to the spreadsheet by a predefined word Only.

Cinema Factory
Cinema Factory
1 year ago

bro how to make inlimited filter bot

Alberto
Alberto
1 year ago

I have one question sir, where do I need to start if I need to request some information from one dastasheet. For expample one parameter which is measuring something and I'm keeping on excell. I'm industrial engineer but I don't know programming. Could you give me some recommendation from where should I start? I'm seeing too many application for this bots but I need basic knowledge. Thank you so much, I would share any kind of knowledge that you need if I'm able.

Vicky Victoria
Vicky Victoria
1 year ago

Great tutorial! Thanks ?

Meow Biich
Meow Biich
1 year ago

Hi Wim, Which Mic do you using for this video?
thats hell a damn clear voice

Ponleu LMUP
Ponleu LMUP
1 year ago

how to do Request failed for https://api.telegram.org returned code 409. Truncated server response: {"ok":false,"error_code":409,"description":"Conflict: can't use getUpdates method while webhook is active; use deleteWebhook to delete the webhook … (use muteHttpExceptions option to examine full response) (line 10, file "Code")

Trushang Chauhan
Trushang Chauhan
1 year ago

there is something problem 404 error

Team Guará
Team Guará
1 year ago

Hi!!
I will share my code but like many others I have an error I cannot solve (TypeError: Cannot read property 'postData' of undefined (line 31, file "Code"), does anyone know what's wrong?

Thank you in advance!

var token = "replaceforTOKENID";
var url = "https://api.telegram.org/bot" + token;
var webAppUrl = "replacefor URL YOU GET WHEN YOU PUBLISH";
var ssId = "replacefor SPREADSHEET ID IN URL";

function getMe() {
var response = UrlFetchApp.fetch(url + "/getMe");
Logger.log(response.getContentText() );
}

function getUpdates() {
var response = UrlFetchApp.fetch(url + "/getUpdates");
Logger.log(response.getContentText());
}

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

function sendText(id, test) {
var response = UrlFetchApp.fetch(url + "/sendMessage?chat_id=" + id + "&text=" + text);
Logger.log(response.getContentText());
}

function doGet(e) {
return HtmlService.createHtmlOutput("Hello " + JSON.stringify(e));
}

function doPost(e) {
var contents = JSON.parse(e.postData.contents);
GmailApp.sendEmail(Session.getEffectiveUser().getEmail(),"Telegram Bot Update",JSON.stringify(contents,null,4));

var text = contents.message.text;
var id = contents.message.from.id;
var name = contents.message.from.first_name + " " + contents.message.from.last_name;
sendText(id, "Hello " + name);

SpreadsheetApp.openById(ssId).appendRow([new Date(),id,name,text,contents]);
}

CDT Parts
CDT Parts
1 year ago

var response = UrlFetchApp.fetch(url + "/getUpdates"); erorr !!!!!!!

Yuri Ton
Yuri Ton
1 year ago

Wim, make subtitles to your videos in English, please. It shows in Dutch automaically.

Mulharmen Syofyan
Mulharmen Syofyan
1 year ago

nice tutorial… can you make tutorial on reply_markup with google apps script?

Muhammad Syamsudin Al Muharom
Muhammad Syamsudin Al Muharom
1 year ago

Hi, this is awesome, can you make reverse method?
I mean how i can read/get data from spreadsheet and post it in bot
thanks btw

Alfian Oktafireza
Alfian Oktafireza
1 year ago

Thanks dude ?

Social Eye
Social Eye
1 year ago

Bot for instagram telegram?

Oleksandr Garichkin
Oleksandr Garichkin
1 year ago

Hello! Thanks for tutorial!
Is it possible to get information from google sheets when I write a command in telegram bot?

Jacek Dudzic
Jacek Dudzic
1 year ago

Hi Wim, thanks for your great tutorial. I made it work however for some strange reason the new tab creation doesn't work at all and ie posting with @todo on Telegram sends a text starting with @ and it still lands in the Sheet1. Any idea of what to change to make it work properly?

Rakesh Aggarwal
Rakesh Aggarwal
1 year ago

You have brilliant coding skills & i have brilliant revolutionary busi ideas. Lets find a startup together. Mail me at rakeshagg233@gmail.com

OWLBE
OWLBE
1 year ago

i needed your help! where can i contact you plz?

29
0
Would love your thoughts, please comment.x
()
x