theadnan / avgkicin-bot Goto Github PK
View Code? Open in Web Editor NEWPHP script for my Telegram bot |
Home Page: https://telegram.me/avgkicin_bot
PHP script for my Telegram bot |
Home Page: https://telegram.me/avgkicin_bot
Add more stickers to this file: Stickers file.
You can find sticker IDs by chatting with this bot: Get Sticker ID Bot
Add more questions (in Bosnian, English or any language) to the switch-case statement in any of the two scripts in this repo
Any ideas or suggestion where I could host this script for free?
Which service do/did you use, if any?
Dear avgkicin,
avgkicin-webhook-version.php should remove ["result"] from:
$msg = $update["result"]["message"]["text"];
$msg = $update["message"]["text"];
I printed array below, not included ["result"] recently:
Array
(
[update_id] => 273868240
[message] => Array
(
[message_id] => 71
[from] => Array
(
[id] => 33587607
[is_bot] =>
[first_name] => Zola
[last_name] => Zhou
[username] => zuola
[language_code] => zh-Hant-US
)
[chat] => Array
(
[id] => 33587607
[first_name] => Zola
[last_name] => Zhou
[username] => zuola
[type] => private
)
[date] => 1518658537
[text] => CNBC
)
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.