This book 📖 serves as a detailed guide in developing Telegram Bots. Your contribution is welcome! 🙂
Book is generated using mdBook.
We also check all the HTTP URLs and inter-file references during CI to avoid broken links.
- Fork this repository
- Commit your changes
- Make sure all tests are passing
- Make a pull request to
develop
branch here
There are a few simple rules in place to keep the project easily manageable and limit merge conflicts.
- Try to edit one chapter only in each commit/PR. Why?
- Scope of change is smaller so there will be less conflicts
- Allows us to cherry-pick commits instead of merging the whole PR if necessary
- Each chapter should have its own
docs/
directory. Why?- To narrow scope of changes
- Files used in code snippets should be in
src/docs/
directory and NOT in a chapter directory. Why?- Because of this next rule:
- Do not remove/rename files in
src/docs/
. Only add files to this directory. Why?- They are used as hard coded values in examples in the book
- Files in
docs
directories should be named following{type}-{file_name}.{extension}
pattern.- Values for type:
photo
,shot
,sticker
,anim
,video
,voice
,audio
,doc
,thumb
- Values for type: