add mytextstartshere to doc

This commit is contained in:
Kay Marquardt (Gnadelwartz) 2019-04-27 21:35:10 +02:00
parent 3cd6eebdf2
commit 02d9afbb22
10 changed files with 14 additions and 10 deletions

View File

@ -93,4 +93,4 @@ Well, thats a damn good question ... may be because I'm an Unix/Linux admin from
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-5-g07dc7b4
#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb

View File

@ -147,5 +147,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-5-g07dc7b4
latexmath:[\[VERSION\]] v0.70-pre1-6-g3cd6eeb
+++++++++++++++++++++++++++++++++++++++++++++

View File

@ -95,10 +95,18 @@ echo "Text that will appear in chat? mykeyboardstartshere [ \"Yep, sure\" , \"No
```
Please note that you can either send a location or a venue, not both. To send a venue add the mytitlestartshere and the myaddressstartshere keywords.
To insert a linebreak in your message you can insert ```mynewlinestartshere``` in your echo command:
New in v0.6: To insert a linebreak in your message you can insert ```mynewlinestartshere``` in your echo command:
```bash
echo "Text that will appear in one message mynewlinestartshere with this text on a new line"
```
New in v0.7: In case you must extend a message already containing a location, a file, a keyboard etc.,
with additionial text simply add ``` mytextstartshere additional text``` at the end of the string:
```bash
out="Text that will appear mylatstartshere 45 mylongstartshere 45"
[[ "$out" != *'in chat'* ]] && out="$out mytextstartshere in chat."
echo "$out"
```
Note: Interactive Chats run independent from main bot and continue running until your script exits or you /cancel if from your Bot.
### Background Jobs
@ -169,5 +177,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-2-g293ad08
#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb

View File

@ -5,7 +5,7 @@
# This file is public domain in the USA and all free countries.
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
#
#### $$VERSION$$ v0.70-pre1-5-g07dc7b4
#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb
# source from commands.sh if you want ro use interactive or background jobs

0
test/a-commit-test.sh Normal file → Executable file
View File

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-pre1-0-g490c472
../dev/hooks/pre-push.sh

0
test/d-JSON.sh-test.sh Normal file → Executable file
View File

0
test/d-process_message-test.sh Normal file → Executable file
View File

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#### $$VERSION$$ v0.70-pre1-5-g07dc7b4
#### $$VERSION$$ v0.70-pre1-6-g3cd6eeb
# include common functions and definitions
# shellcheck source=test/ALL-tests.inc.sh

0
test/d-user_is-test.sh Normal file → Executable file
View File