├── .editorconfig ├── .github ├── FUNDING.yml └── workflows │ ├── bot-api-updates.yml │ ├── crystal.yml │ └── docs.yml ├── .gitignore ├── .readthedocs.yml ├── CHANGELOG.md ├── LICENSE ├── Pipfile ├── Pipfile.lock ├── README.md ├── docs ├── .DS_Store ├── SUMMARY.md ├── changelog.md ├── gen_doc_stubs.py ├── images │ ├── logo.png │ └── logo.svg ├── index.md ├── resources │ └── faq.md ├── stylesheets │ └── extra.css └── usage │ ├── getting_started.md │ └── index.md ├── examples ├── button_bot.cr ├── cat.jpg ├── dice_bot.cr ├── echo_bot.cr ├── inline_query_bot.cr ├── kitty_bot.cr ├── live_location_bot.cr ├── media_bot.cr ├── poll_bot.cr ├── shop_bot.cr └── webhook_bot.cr ├── img ├── header.png ├── logo.png └── logo.svg ├── main.py ├── mkdocs.yml ├── requirements.txt ├── scripts └── generate.cr ├── shard.yml ├── spec ├── spec_helper.cr └── tourmaline_spec.cr └── src ├── ext ├── fiber.cr ├── file.cr └── slice.cr ├── tourmaline.cr └── tourmaline ├── chat_action.cr ├── client.cr ├── client ├── api.cr ├── inline_keyboard_markup_builder.cr ├── inline_query_result_builder.cr └── reply_keyboard_markup_builder.cr ├── context.cr ├── dispatcher.cr ├── error.cr ├── event_handler.cr ├── handlers ├── callback_query_handler.cr ├── command_handler.cr ├── hears_handler.cr └── inline_query_handler.cr ├── helpers.cr ├── keyboard_builder.cr ├── logger.cr ├── middleware.cr ├── parse_mode.cr ├── poller.cr ├── server.cr ├── types ├── api.cr └── custom │ ├── chat.cr │ ├── file.cr │ ├── inline_keyboard_markup.cr │ ├── message.cr │ ├── reply_keyboard_markup.cr │ ├── update.cr │ └── user.cr ├── update_action.cr └── version.cr /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/bot-api-updates.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/.github/workflows/bot-api-updates.yml -------------------------------------------------------------------------------- /.github/workflows/crystal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/.github/workflows/crystal.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/.gitignore -------------------------------------------------------------------------------- /.readthedocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/.readthedocs.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/LICENSE -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/Pipfile -------------------------------------------------------------------------------- /Pipfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/Pipfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/README.md -------------------------------------------------------------------------------- /docs/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/.DS_Store -------------------------------------------------------------------------------- /docs/SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/SUMMARY.md -------------------------------------------------------------------------------- /docs/changelog.md: -------------------------------------------------------------------------------- 1 | --8<-- "CHANGELOG.md" 2 | -------------------------------------------------------------------------------- /docs/gen_doc_stubs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/gen_doc_stubs.py -------------------------------------------------------------------------------- /docs/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/images/logo.png -------------------------------------------------------------------------------- /docs/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/images/logo.svg -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/resources/faq.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/resources/faq.md -------------------------------------------------------------------------------- /docs/stylesheets/extra.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/stylesheets/extra.css -------------------------------------------------------------------------------- /docs/usage/getting_started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/usage/getting_started.md -------------------------------------------------------------------------------- /docs/usage/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/docs/usage/index.md -------------------------------------------------------------------------------- /examples/button_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/button_bot.cr -------------------------------------------------------------------------------- /examples/cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/cat.jpg -------------------------------------------------------------------------------- /examples/dice_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/dice_bot.cr -------------------------------------------------------------------------------- /examples/echo_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/echo_bot.cr -------------------------------------------------------------------------------- /examples/inline_query_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/inline_query_bot.cr -------------------------------------------------------------------------------- /examples/kitty_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/kitty_bot.cr -------------------------------------------------------------------------------- /examples/live_location_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/live_location_bot.cr -------------------------------------------------------------------------------- /examples/media_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/media_bot.cr -------------------------------------------------------------------------------- /examples/poll_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/poll_bot.cr -------------------------------------------------------------------------------- /examples/shop_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/shop_bot.cr -------------------------------------------------------------------------------- /examples/webhook_bot.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/examples/webhook_bot.cr -------------------------------------------------------------------------------- /img/header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/img/header.png -------------------------------------------------------------------------------- /img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/img/logo.png -------------------------------------------------------------------------------- /img/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/img/logo.svg -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/main.py -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/generate.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/scripts/generate.cr -------------------------------------------------------------------------------- /shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/shard.yml -------------------------------------------------------------------------------- /spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/spec/spec_helper.cr -------------------------------------------------------------------------------- /spec/tourmaline_spec.cr: -------------------------------------------------------------------------------- 1 | require "./spec_helper" 2 | -------------------------------------------------------------------------------- /src/ext/fiber.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/ext/fiber.cr -------------------------------------------------------------------------------- /src/ext/file.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/ext/file.cr -------------------------------------------------------------------------------- /src/ext/slice.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/ext/slice.cr -------------------------------------------------------------------------------- /src/tourmaline.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline.cr -------------------------------------------------------------------------------- /src/tourmaline/chat_action.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/chat_action.cr -------------------------------------------------------------------------------- /src/tourmaline/client.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/client.cr -------------------------------------------------------------------------------- /src/tourmaline/client/api.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/client/api.cr -------------------------------------------------------------------------------- /src/tourmaline/client/inline_keyboard_markup_builder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/client/inline_keyboard_markup_builder.cr -------------------------------------------------------------------------------- /src/tourmaline/client/inline_query_result_builder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/client/inline_query_result_builder.cr -------------------------------------------------------------------------------- /src/tourmaline/client/reply_keyboard_markup_builder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/client/reply_keyboard_markup_builder.cr -------------------------------------------------------------------------------- /src/tourmaline/context.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/context.cr -------------------------------------------------------------------------------- /src/tourmaline/dispatcher.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/dispatcher.cr -------------------------------------------------------------------------------- /src/tourmaline/error.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/error.cr -------------------------------------------------------------------------------- /src/tourmaline/event_handler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/event_handler.cr -------------------------------------------------------------------------------- /src/tourmaline/handlers/callback_query_handler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/handlers/callback_query_handler.cr -------------------------------------------------------------------------------- /src/tourmaline/handlers/command_handler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/handlers/command_handler.cr -------------------------------------------------------------------------------- /src/tourmaline/handlers/hears_handler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/handlers/hears_handler.cr -------------------------------------------------------------------------------- /src/tourmaline/handlers/inline_query_handler.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/handlers/inline_query_handler.cr -------------------------------------------------------------------------------- /src/tourmaline/helpers.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/helpers.cr -------------------------------------------------------------------------------- /src/tourmaline/keyboard_builder.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/keyboard_builder.cr -------------------------------------------------------------------------------- /src/tourmaline/logger.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/logger.cr -------------------------------------------------------------------------------- /src/tourmaline/middleware.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/middleware.cr -------------------------------------------------------------------------------- /src/tourmaline/parse_mode.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/parse_mode.cr -------------------------------------------------------------------------------- /src/tourmaline/poller.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/poller.cr -------------------------------------------------------------------------------- /src/tourmaline/server.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/server.cr -------------------------------------------------------------------------------- /src/tourmaline/types/api.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/api.cr -------------------------------------------------------------------------------- /src/tourmaline/types/custom/chat.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/custom/chat.cr -------------------------------------------------------------------------------- /src/tourmaline/types/custom/file.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/custom/file.cr -------------------------------------------------------------------------------- /src/tourmaline/types/custom/inline_keyboard_markup.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/custom/inline_keyboard_markup.cr -------------------------------------------------------------------------------- /src/tourmaline/types/custom/message.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/custom/message.cr -------------------------------------------------------------------------------- /src/tourmaline/types/custom/reply_keyboard_markup.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/custom/reply_keyboard_markup.cr -------------------------------------------------------------------------------- /src/tourmaline/types/custom/update.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/custom/update.cr -------------------------------------------------------------------------------- /src/tourmaline/types/custom/user.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/types/custom/user.cr -------------------------------------------------------------------------------- /src/tourmaline/update_action.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protoncr/tourmaline/HEAD/src/tourmaline/update_action.cr -------------------------------------------------------------------------------- /src/tourmaline/version.cr: -------------------------------------------------------------------------------- 1 | module Tourmaline 2 | VERSION = "0.30.0" 3 | end 4 | --------------------------------------------------------------------------------