Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit340049d

Browse files
committed
Update instructions for sending a Telegram message from Google Sheet
1 parent4235211 commit340049d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎_posts/2022-06-16-send-telegram-message-google-apps-script.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout:post
3-
title:How to send Telegram Messages from Google Apps Script (GAS)
3+
title:How to send Telegram Messages froma Google Sheet usingGoogle Apps Script (GAS)
44
subtitle:Using the WhatsMate Telegram Gateway REST API
55
published:true
6-
last_modified_at:2025-03-16T00:00:00+08:00
6+
last_modified_at:2025-10-23T00:00:00+08:00
77
---
88

9-
This article shows you how to send a Telegram message from a Google Apps Script.
9+
This article shows you how to send a Telegram message from a GoogleSheet using GoogleApps Script.
1010

1111
Before the recipient can receive your Telegram message, she will need to register with the WhatsMate Telegram Gateway. Instructions are available on the[official site](https://www.whatsmate.net/telegram-gateway-api.html).*Unregistered users will NEVER receive messages from the Gateway.*
1212

@@ -15,10 +15,10 @@ To send a Telegram message from a Google Apps Script, do this:
1515

1616
1. Copy the following source code to your Apps Script project. <scriptsrc="https://gist.github.com/whatsmate/358914cd35958847111b4bbfa380a1de.js"></script>
1717
2. Customize the TODO lines:
18-
* Specify your gateway instance ID on line9.
19-
* Specify your client ID and secret on lines10 and11.
20-
* Specify your target recipient on line2. Remember to include the country code.
21-
* Specify your message on line3.
18+
* Specify your gateway instance ID on line15.
19+
* Specify your client ID and secret on lines16 and17.
20+
* Specify your target recipient on line6. Remember to include the country code.
21+
* Specify your message on line9.
2222
3. Run the function`main()` to send your message.
2323

2424

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp