Paste the token on line 12 (instead of tokenhere).
Then start editing the commands.
### Usage
To send messages use the ```send_message``` function:
```
send_message "$TARGET" "lol"
```
To send images use the ```send_photo``` function:
```
send_photo "$TARGET" "/home/user/doge.jpg"
```
To send custom keyboards use the ```send_keyboard``` function or the ```send_message``` function:
```
send_keyboard "$TARGET" "Text that will appear in chat?" "Yep" "No"
```
To create interactive chats, write (or edit the question script) a normal bash (or C or python) script, chmod +x it and then substitute ./question @ line 49 with the command you usually use to start the script.
The text that the script will output will be sent in real time to the user, and all user input will be sent to the script (as long as it's running or until the user kills it with /cancel).
To open up a keyboard in an interactive script, print out the keyboard layout in the following way:
```
echo "Text that will appear in chat? mykeyboardstartshere Yep No"
```
Same goes for images:
```
echo "Text that will appear in chat? myimagelocationstartshere /home/user/doge.jpg"
```
Or both:
```
echo "Text that will appear in chat? mykeyboardstartshere Yep No myimagelocationstartshere /home/user/doge.jpg"