|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 07 > 24 > Telegram_2019-07-24T04 |
2019-07-24T04:14:14
Sorry, what do you mean?
2019-07-24T04:14:35
how do you register your content handler
2019-07-24T04:15:16
THandlers.Add('', 'openview', TContentView.Create);
2019-07-24T04:15:46
Registration inside servercontroller.onconfig
2019-07-24T04:17:00
try
THandlers.AddStartHandler
2019-07-24T04:17:35
and register it using type: bot_command /myservice as the path
2019-07-24T04:18:30
And in aDocument?
2019-07-24T04:19:48
you can use it as document and leave path empty
2019-07-24T04:20:02
it will work the sme
2019-07-24T04:20:02
ah ok
2019-07-24T04:23:02
404 resource not found
2019-07-24T04:23:30
Browser opens with this: \ type: link http://127.0.0.1:8888/openview \
2019-07-24T04:24:13
Sorry
2019-07-24T04:24:24
resource not found for my fault
2019-07-24T04:24:53
But the registration is right
2019-07-24T04:25:24
In debug it enters the contenbase.execute
2019-07-24T04:31:31
If you compile the \ContentHandlersDemo\ adding the flag, then the content handlers won't work anymore