Commit Graph

587 Commits (19e28229eaf2cf5b4b2cc9786a9dae26314acd24)
 

Author SHA1 Message Date
renanzxc 8fe81bb3bf Export row type 4 years ago
profawk 66f939ca14 Fix inlinebutton With func
the InlineButton With func returned a new button with it's url property mangled (t.Text instead of t.URL)
this caused telegram to respoind with 400
4 years ago
Demian 41c95795c0 chat: return username in Recipient for channels 4 years ago
Demian 309b5be317 layout: separate buttons and callbacks 4 years ago
Demian 0b46db3041 layout: pass functions to the ButtonLocale template 4 years ago
Demian e5b018fc4b layout: implement ButtonLocale function 4 years ago
Demian 9e23343684 context: expose SenderOrChat function 4 years ago
Demian fe1015dd7a context: add additional checks for recipient 4 years ago
Demian cba1303e69 context: expose native constructor 4 years ago
Demian 67283cd275 layout: allow to specify locale manually 4 years ago
Demian 9f08ef94de telebot: remove ErrSkip
There is no need in this error, as we can skip or abort the execution
by simply returning a nil, instead of calling the next context handler.
4 years ago
Demian 1755696785 middleware/logger: trim callback data delimiter 4 years ago
Demian 8805f248e3 tests: context Text is not for queries 4 years ago
Demian 59b2bdc805 layout: fix inline button recognition again 4 years ago
Demian 541cbd7e1e bot: add callback unique field 4 years ago
Demian 4e02fbfc4f middleware/logger: use data as text for callbacks 4 years ago
Demian 29b8f9343c context: implement Data function 4 years ago
Demian 291010edb2 context: allow Edit only for callbacks 4 years ago
Demian 95a99609b1 revert "context: Edit cannot edit the current message"
Context-dependent Edit is needed to edit the callback messages at least.

This reverts commit 57be5879bc.
4 years ago
Demian 2f996c5a81 layout: log errors 4 years ago
Demian 8518b36b32 layout: fix inline button recognition 4 years ago
Demian 0904e2ffec context: implement Chat function 4 years ago
Demian 3e14fed6ff middleware: implement logrus logger 4 years ago
Demian 57be5879bc context: Edit cannot edit the current message 4 years ago
Demian cf5edf4042 context: implement the opposite to Forward 4 years ago
Demian a2ad0d803c layout: extend config implementation 4 years ago
Demian 6005ff95b1 layout: implement typed ChatID function 4 years ago
Demian 91f4c3498e util: fix possible nil dereference in debug 4 years ago
Demian 2eadd32991 middleware: implement first restrict examples 4 years ago
Demian 90fad0b031 middleware: fix group handling logic 4 years ago
Demian 09f2572e08 layout: dispose used context 4 years ago
Demian 708093dfbc layout: return nil for non existing button 4 years ago
Demian b10f986ba2 context: fix message selecting for callbacks 4 years ago
Demian d63ce9ce08 layout: simplify markups, add buttons 4 years ago
Demian 12a486fda8 .travis: update 4 years ago
Demian 551df7ebce test: assert to require for errors 4 years ago
Demian 7a47b1a206 bump go version to 1.13 4 years ago
Demian a328719293 bot: fill animation from the document if it's nil 4 years ago
Ian Patrick Badtrousers 4a49efc1bb admin: removed omitempty from Rights 4 years ago
Demian c4f58d405b layout: expose locale functions 4 years ago
Demian 11ccdd09f5 layout: add template functions 4 years ago
Demian 5e96001289 layout: fix templates parsing 4 years ago
Demian dac845e067 layout: fix locales name parsing 4 years ago
Demian 35e2df77be group: fix recursive handler bug 4 years ago
Demian ce6c47adc8 layout: fix nil map 4 years ago
Demian a70d2204db bot: fix root group handling 4 years ago
Demian b291e4fc08 layout: should be separated and completely independent 4 years ago
Demian e9dd8a775f layout: parse default locale from settings 4 years ago
Demian 3e050a95e5 layout: add missed map making 4 years ago
Demian 39a9b61833 layout: expose locale-related field 4 years ago