mirror of
https://github.com/dyzulk/portfolio-html.git
synced 2026-01-26 13:31:59 +07:00
Update and rename telegrambot0 to telegrambot0.js
This commit is contained in:
committed by
GitHub
parent
d06bd7960f
commit
d7d9fde96c
@@ -12,7 +12,7 @@ function kirimPesan() {
|
|||||||
var grup = '-836942032'; // Ganti dengan chat id dari bot yang kamu buat
|
var grup = '-836942032'; // Ganti dengan chat id dari bot yang kamu buat
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: `https://api.telegram.org/bot${token}/sendMessage?chat_id=${grup}&text=${gabungan}&parse_mode=html`,
|
url: `https://api.telegram.org/bot${token}/sendMessage?chat_id=${grup}&text=${gabungan}`,
|
||||||
method: `POST`,
|
method: `POST`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user