From 85a178d68a971fdfc8446f194cac7df51b39c560 Mon Sep 17 00:00:00 2001 From: "Kay Marquardt (Gnadelwartz)" Date: Wed, 20 Jan 2021 16:27:59 +0100 Subject: [PATCH] doc: small fix for _button_row --- doc/6_reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/6_reference.md b/doc/6_reference.md index 82b2dd5..a9aceea 100644 --- a/doc/6_reference.md +++ b/doc/6_reference.md @@ -236,9 +236,9 @@ send_button "${CHAT[ID]}" "Awesome Deals!" "Visit my Shop" "https://dealz.rrr.de *usage:* _button_row "text|url" "text|url" "" "url" "" "text|url" ... -Each button is specified as a `"tex|url"` pair separated by `|`, text is shown on the button and url is opened on button click. +Each button is specified as a `"text|url"` pair separated by `|`, `text` is shown on the button and `url` is opened on button click. By default all buttons are displayed on one row, an empty string `""` starts a new button row. -If `"url"` without text is given, the url is shown on the button and opened on button click. +If `"url"` without text is given, `url` is shown on the button and opened on button click. *example:* ```bash @@ -1291,5 +1291,5 @@ The name of your bot is available as bash variable "$ME", there is no need to ca #### [Prev Best Practice](5_practice.md) #### [Next Notes for Developers](7_develop.md) -#### $$VERSION$$ v1.31-dev-10-gf95b6c2 +#### $$VERSION$$ v1.31-dev-11-gf6e319c