diff --git a/README.md b/README.md index 0666eac..2337969 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,9 @@ Most complete [UTF-8 support for bashbot](doc/4_expert.md#Bashbot-UTF-8-Support) Bashbot [Documentation](https://github.com/topkecleon/telegram-bot-bash) and [Downloads](https://github.com/topkecleon/telegram-bot-bash/releases) are availible on www.github.com ## Documentation +* [Bots: Introduction for developers] (https://core.telegram.org/bots) + * [The one to rule them all](https://core.telegram.org/bots#3-how-do-i-create-a-bot) + * [Bot commands](https://core.telegram.org/bots#commands) * [Install Bashbot](doc/0_install.md) * Install release * Install from githup @@ -76,4 +79,4 @@ Bashbot is not more (in)secure as any other Bot written in any other language, w If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -#### $$VERSION$$ v0.70-pre1-0-g490c472 +#### $$VERSION$$ v0.70-pre1-1-gbd4a116 diff --git a/README.txt b/README.txt index e720a69..2aae368 100644 --- a/README.txt +++ b/README.txt @@ -27,6 +27,10 @@ are availible on www.github.com Documentation ~~~~~~~~~~~~~ +* [Bots: Introduction for developers] (https://core.telegram.org/bots) +** https://core.telegram.org/bots#3-how-do-i-create-a-bot[The one to +rule them all] +** https://core.telegram.org/bots#commands[Bot commands] * link:doc/0_install.md[Install Bashbot] ** Install release ** Install from githup @@ -123,5 +127,5 @@ That's it! If you feel that there's something missing or if you found a bug, feel free to submit a pull request! -latexmath:[\[VERSION\]] v0.70-pre1-0-g490c472 +latexmath:[\[VERSION\]] v0.70-pre1-1-gbd4a116 +++++++++++++++++++++++++++++++++++++++++++++ diff --git a/doc/0_install.md b/doc/0_install.md index 6719128..5a4b6d6 100644 --- a/doc/0_install.md +++ b/doc/0_install.md @@ -12,6 +12,8 @@ Now your Bot is ready to start ... +If you are new to Bot development read [Bots: An introduction for developers](https://core.telegram.org/bots) + ### Install from Github As an alternative to download the zip files, you can clone the github repository to get the latest improvements/fixes. @@ -61,5 +63,5 @@ The old format is supported for backward compatibility, but may fail for corner #### [Next Create Bot](1_firstbot.md) -#### $$VERSION$$ v0.70-pre1-0-g490c472 +#### $$VERSION$$ v0.70-pre1-1-gbd4a116 diff --git a/doc/1_firstbot.md b/doc/1_firstbot.md index 15de8d8..dbc8744 100644 --- a/doc/1_firstbot.md +++ b/doc/1_firstbot.md @@ -1,5 +1,10 @@ #### [Home](../README.md) ## Create a Telegram Bot with botfather +[BotFather is the one bot to rule them all](https://core.telegram.org/bots#3-how-do-i-create-a-bot). It will help you create new bots and change settings for existing ones. + +[Commands known by Botfather](https://core.telegram.org/bots#generating-an-authorization-token) + +### Creating a new Bot 1. Message @botfather https://telegram.me/botfather with the following text: `/newbot` @@ -62,5 +67,5 @@ group. This step is up to you actually. #### [Prev Installation](0_install.md) #### [Next Getting started](2_usage.md) -#### $$VERSION$$ v0.70-pre1-0-g490c472 +#### $$VERSION$$ v0.70-pre1-1-gbd4a116 diff --git a/doc/2_usage.md b/doc/2_usage.md index 43f639e..513d2d8 100644 --- a/doc/2_usage.md +++ b/doc/2_usage.md @@ -162,9 +162,10 @@ Allowed values: typing for text messages, upload_photo for photos, record_video ```bash send_action "${CHAT[ID]}" "action" ``` +See also [Bashbot function reference](6_reference.md) #### [Prev Create Bot](1_firstbot.md) #### [Next Advanced Usage](3_advanced.md) -#### $$VERSION$$ v0.70-pre1-0-g490c472 +#### $$VERSION$$ v0.70-pre1-1-gbd4a116 diff --git a/doc/3_advanced.md b/doc/3_advanced.md index a3099c0..ecef80a 100644 --- a/doc/3_advanced.md +++ b/doc/3_advanced.md @@ -56,6 +56,7 @@ You must use the function ```user_is_allowed``` to check if a user has the capab ;; esac ``` +See also [Bashbot User Access Control functions](6_functions.md#User_Access_Control) ### Interactive Chats To create interactive chats, write *(or edit the 'exmaples/question.sh' script)* a bash *(or C or python)* script, make it executable @@ -166,5 +167,5 @@ answer_inline_query "$iQUERY_ID" "cached_sticker" "identifier for the sticker" #### [Prev Getting started](2_usage.md) #### [Next Expert Use](4_expert.md) -#### $$VERSION$$ v0.70-pre1-0-g490c472 +#### $$VERSION$$ v0.70-pre1-1-gbd4a116 diff --git a/doc/6_reference.md b/doc/6_reference.md index 94d3576..8b847bb 100644 --- a/doc/6_reference.md +++ b/doc/6_reference.md @@ -59,6 +59,8 @@ send_normal_message "${CHAT[ID]}" "bold italic> italic>/em> v0.x-pre-x -> v0.x-rc -> v0.x ... 0.x+1-dev ... + v0.x-devx -> v0.x-prex -> v0.x-rc -> v0.x ... 0.x+1-dev ... ``` ### Versioning @@ -92,5 +92,5 @@ fi #### [Prev Function Reference](6_function.md) #### [Next Bashbot Environment](8_custom.md) -#### $$VERSION$$ v0.70-pre1-0-g490c472 +#### $$VERSION$$ v0.70-pre1-1-gbd4a116