aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorniklas <niklas@niklashalle.net>2020-11-12 14:47:18 +0100
committerniklas <niklas@niklashalle.net>2020-11-12 14:47:18 +0100
commit9a87a3500b835d1bbe29132fee3eef7ada973a5e (patch)
tree8c04de2e81355b69d2b01b5eb9e78294ad66de3f /README.md
parent0b0dba6c4b9d267c51b00f577db5bb7bf1726ac8 (diff)
parentee89b895d4f04baa1ea493fe916b3d499c4b4ec4 (diff)
downloadn_core-9a87a3500b835d1bbe29132fee3eef7ada973a5e.tar.gz
n_core-9a87a3500b835d1bbe29132fee3eef7ada973a5e.zip
Merge branch 'master' of git.niklashalle.net:n_core into HEAD
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 7 insertions, 2 deletions
diff --git a/README.md b/README.md
index c132183..c59ecd4 100644
--- a/README.md
+++ b/README.md
@@ -74,10 +74,15 @@ No extra content.
The text should be printed underlined.
No extra content.
+##### `attachment`
+The text is the caption of an attached file.
+Extra content: String of content: "`file_name`;`file_type`;`file_content`", where `file_content` is base64 encoded.
+E.g.: "image.png;png;iVBORw0KGgoAAAANSUhEUgAAABwAAAAMBAMAAACD9cA8AAAALVBMVEX///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADAOrOgAAAADnRSTlMAELt2Mu9Eic1mIqtU3XZzvlQAAAAJcEhZcwAADsQAAA7EAZUrDhsAAACJSURBVAgdY2BgFGCAARCTyQDGAzP5HOBcENMVzgMx0zsqGXjmGDBwzpwFYjJoMjBsZkhjOMlQCWIyvGLgvMBQxVDhIABkMrAFMPDqTE5gWPv0AJDJwL6BQW4ByLTlD4BMBo4JMnJADscBhgAgk4HXwYDXgeEINwMbkDZg4LFZwFVzUoAt5ySICQDlYB5evEnwqgAAAABJRU5ErkJggg=="
+
##### `command`
-The text should be formated in a way to underlying platform of the bridge would recognize it (e.g. prefix with '/').
+The text should be formatted in a way to underlying platform of the bridge would recognize it (e.g. prefix with '/').
Extra content: the description of the command.
##### `link`
The text should be formatted as a link.
-Extra content: the alt text for the uri - the uri should be the text itself, so that clients ignoring this annotation still show the real uri.
+Extra content: the alt text for the uri - the uri should be the text itself, so that clients ignoring this annotation still show the real uri. \ No newline at end of file