mirror of
https://github.com/octoleo/telegram-bot-bash.git
synced 2024-11-21 23:25:08 +00:00
dev: exclude bashbot.rc scripts: header
This commit is contained in:
parent
6857a5558f
commit
d269f9816d
@ -1,5 +1,6 @@
|
||||
data-bot-bash/*
|
||||
JSON.awk
|
||||
bashbot.rc
|
||||
awk-patch.sh
|
||||
*.jssh*
|
||||
botacl
|
||||
|
@ -142,7 +142,7 @@ Note: to get help about a script in bin/ run `scriptname.sh --help`
|
||||
|
||||
## Receive data
|
||||
Evertime a Telegram update is received, you can read incoming data using the following variables:
|
||||
In case you need other update values, the array `UDP` contains complete Telegram response.
|
||||
In case you need other update values, the array `UPD` contains complete Telegram response.
|
||||
|
||||
### Regular Messages
|
||||
|
||||
@ -259,7 +259,7 @@ they contain the following variables only:
|
||||
## Send data / get response
|
||||
|
||||
After every `send_xxx` `get_xxx` call the array BOTSENT contains the most important values from Telegram response.
|
||||
In case you need other response values , the array `UDP` contains complete Telegram response.
|
||||
In case you need other response values , the array `UPD` contains complete Telegram response.
|
||||
|
||||
### BOTSENT array
|
||||
|
||||
@ -351,5 +351,5 @@ send_action "${CHAT[ID]}" "action"
|
||||
#### [Prev Create Bot](1_firstbot.md)
|
||||
#### [Next Advanced Usage](3_advanced.md)
|
||||
|
||||
#### $$VERSION$$ v1.30-dev-26-gd12ab86
|
||||
#### $$VERSION$$ v1.30-dev-27-g6857a55
|
||||
|
||||
|
@ -1,12 +1,19 @@
|
||||
#!/bin/bash
|
||||
# file: interactive.sh
|
||||
# template for an interactive chat
|
||||
# test: start_proc "${CHAT[ID]}" "./scripts/interactive.sh.clean"
|
||||
########################################################################
|
||||
#
|
||||
# File: interactive.sh
|
||||
#
|
||||
# Description: template for an interactive chat
|
||||
#
|
||||
# Usgage: start_proc "${CHAT[ID]}" ./scripts/interactive.sh.clean
|
||||
#
|
||||
# Test in CLI: ./scripts/interactive.sh.clean
|
||||
#
|
||||
# This file is public domain in the USA and all free countries.
|
||||
# Elsewhere, consider it to be WTFPLv2. (wtfpl.net/txt/copying)
|
||||
#
|
||||
#### $$VERSION$$ v1.21-0-gc85af77
|
||||
#### $$VERSION$$ v1.30-dev-27-g6857a55
|
||||
########################################################################
|
||||
|
||||
######
|
||||
# parameters
|
||||
|
Loading…
Reference in New Issue
Block a user