Skip to content

Commit

Permalink
Bashbot Version 0.80
Browse files Browse the repository at this point in the history
  • Loading branch information
gnadelwartz committed May 22, 2019
1 parent 75691dc commit 58cf901
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/6_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ The main use case for send_message is to process the output of interactive chats
##### send_file
send_file allows you to send different type's of files, e.g. photos, stickers, audio, media, etc. [see more](https://core.telegram.org/bots/api#sending-files)

Starting with version 0.80 send_file implements the following rules:

- file names must not contain ".."
- file names must not start with "."
- file names not starting wit "/" are realtive to $TMPDIR, e.g. ./data-bot-bash
- abolute filenames must match $FILE_REGEX

*usage:* send_file "${CHAT[ID]}" "file" "caption"

*example:*
Expand Down

0 comments on commit 58cf901

Please sign in to comment.