Comments (7)
What is the name of the file? It have to be NicoCommand.php
On 17 Jul 2015 18:40, "Marco Ferraioli" [email protected] wrote:
I have wrote a new command based on help command
getUpdate(); $message = $this->getMessage(); $chat_id = $message->getChat()->getId(); $text = $message->getText(true); $data = array(); $data['chat_id'] = $chat_id; $data['text'] = "Sorry, ........"; $result = Request::sendMessage($data); }} But when I write /nico it not work [image: 😢] What's wrong ? (Sorry for my bad english [image: 😁] ) — Reply to this email directly or view it on GitHub https://github.com//issues/11.
from core.
yes, the name is NicoCommand.php
http://s10.postimg.org/smonglf15/Immagine.png
from core.
ops I don't want close this 😕
from core.
Wich version of the bot you're using? this is not the last one 0.0.8 right?
from core.
I have update the bot, but now when I set webhook I recive this error:
Webhook was not set! Error:
help me 😢
from core.
Try to do he request manually with this:
https://api.telegram.org/bot{yourbottoken}/setWebhook?url={yourhttpsurl}
from core.
it work. Thanks
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.