Skip to content

Instantly share code, notes, and snippets.

View masbagusstwn's full-sized avatar
💭
I may be slow to respond.

masbagusstwn masbagusstwn

💭
I may be slow to respond.
View GitHub Profile
@masbagusstwn
masbagusstwn / inititate
Created April 26, 2023 07:54
How to expand initiate of minimail with multiple account gmail
/**
* Untuk dapat menjalankan beberapa Email Client diperlukan satu Script utama
* Script minimail lainnya di-deploy sebagai WebApps dan di panggil oleh script utama melalui Bot
*
* Ikuti cara inisiasi sebagai berikut
**/
/** A. PADA SCRIPT UTAMA (SCRIPT BOT) *//*
function doPost(e) {
<?php
define('BOT_TOKEN', 'XXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXX'); // place bot token of your bot here
function checkTelegramAuthorization($auth_data) {
$check_hash = $auth_data['hash'];
unset($auth_data['hash']);
$data_check_arr = [];
foreach ($auth_data as $key => $value) {
$data_check_arr[] = $key . '=' . $value;
@masbagusstwn
masbagusstwn / README.md
Created June 29, 2022 12:54 — forked from unnikked/README.md
How to host your Telegram bot on Google App Script

Telegram Bot on Google App Script

This is the source code of one of my blog post. To read the full blog post please click here.