Comments (7)
Hi, I have an outline of the team that bypassing the main DB class accomplishes this . In the coming days I'm going to add this functionality to a class of DB, and can be published as soon as it is completed yet .
from core.
Very good!
from core.
Hi. What is mean of ['text' => 'callback', 'callback_data' => 'identifier']
? what is identifier? where it is defined? Why when i press the this button, bot show popup that say "Hello world!".
Please describe.
from core.
Because you're using example commands. You should go through all of them and read the code and understand it.
Then start creating own commands, you can literally copy all SystemCommands to your project dir and set $telegram->addCommandsPath($commands_path);
pointing to it, thats where you can start developing your bot commands!
from core.
src/Commands/SystemCommands/CallbackqueryCommand.php
from core.
yes, i found that. thank you @antimech
from core.
I'll close this for now, as this would be included in some analytics feature, if that becomes a thing at some point.
from core.
Related Issues (20)
- Using static methods is bad idea HOT 5
- Unable to add a command that handles web_app_daa HOT 2
- Bot API 6.9
- Can't have more than 1 class for generics messages HOT 1
- Bot so slow work...
- getUpdates Fatal error when no connection
- How to send message outside webhooks? HOT 1
- sendDocument doesn't have option to specify only file_id as String to send a file that exists on the Telegram servers HOT 2
- Need help basic flow getUpdates HOT 2
- /chats * with multiple bots HOT 1
- Chat boost
- LoginUrl and Page Security
- MessageOrigin
- forward inline_keyboard with data to command HOT 3
- CallbackqueryCommand -> executeCommand HOT 2
- Bot API 7.0
- Parallel commands HOT 7
- "PHP Deprecated: ... " HOT 3
- Provide further variables to *all* commands.
- Fix PHP Error - Call to a member function getChat() on null
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.