Hirrolot
53be9d0e92
Reorder parameters in the examples
...
In reordering the parameters, I stick the following principle: place parameters from least changing to most changing. Thus, we have config and bot right from the beginning, next a dialogue with a possible payload, and next updates such as messages, inline queries, etc. This principle is used in languages with a native support for currying, although in Rust people appear to order parameters arbitrarily, so this commit is mostly for the sake of consistency.
Former-commit-id: 5922984f6c
2022-10-03 17:54:06 +06:00
Hirrolot
b0feab6e9a
Use RequestError
in REPLs
...
Former-commit-id: cde6827cee
2022-10-02 21:44:04 +06:00
Hirrolot
05501015ee
Stop using AutoSend
in the examples and docs
...
Former-commit-id: 00efbe163a
2022-09-29 09:37:20 +06:00
Maybe Waffle
f2c50b7dba
Remove {token}
from webhook url in heroku example
...
Former-commit-id: 78a96381dc
2022-09-25 01:06:11 +04:00
Alessio
5e8682da8c
Update the heroku example to use 0.0.0.0 as ip
...
On heroku we canno't bind on 127.0.0.1
Former-commit-id: c95203759a
2022-06-29 15:10:45 +02:00
Maybe Waffle
b8004a803a
use built-in webhook support in heroku example
...
Former-commit-id: 0b582882eb
2022-06-09 18:00:15 +04:00
Hirrolot
5723d7b9b7
Harmonise example bot initial logs
...
Former-commit-id: b8c3f48c7f
2022-04-27 01:00:08 +06:00
Maybe Waffle
0bddb1d927
Update changelog
2022-04-05 16:37:22 +04:00
Hirrolot
5838b31834
Capture identifier in format strings (examples/
)
2022-04-03 16:06:44 +06:00
Hirrolot
fa5d1f738b
Remove support for the old dispatching
2022-03-29 01:55:09 +06:00
Maybe Waffle
dbc7633fdb
Deprecate enable_logging!
in favour of configuring logging yourself
2022-03-21 18:55:34 +04:00
Hirrolot
ef323889db
Fix the docs of the Heroku example
2022-02-05 00:31:13 +06:00
Hirrolot
242bfef885
Fix merge conflicts
2022-02-03 20:39:32 +06:00
Hirrolot
62934f29bd
Harmonise naming convention across the examples
2022-02-02 15:40:22 +06:00
Hirrolot
3b3f5f855f
Make all examples just *.rs
files
2022-02-02 03:54:00 +06:00