allow sending image, video and audio messages

files have to be right format to be recognized by WhatsApp
This commit is contained in:
normen
2020-11-24 19:16:37 +01:00
parent 3c193d219e
commit ea92d56426
2 changed files with 78 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ import (
"gitlab.com/tslocum/cbind"
)
var VERSION string = "v0.8.10"
var VERSION string = "v0.9.0"
var sndTxt string = ""
var currentReceiver string = ""
@@ -368,6 +368,7 @@ func PrintHelp() {
fmt.Fprintln(textView, "[::b] "+cmdPrefix+"connect [::-]or[::b]", config.Config.Keymap.CommandConnect, "[::-] = (re)connect in case the connection dropped")
fmt.Fprintln(textView, "[::b] "+cmdPrefix+"leave[::-] = leave group")
fmt.Fprintln(textView, "[::b] "+cmdPrefix+"upload[::-] /path/to/file = upload file to current chat")
fmt.Fprintln(textView, "[::b] "+cmdPrefix+"sendimage[::-] /path/to/file = send image to current chat (same for sendvideo/audio")
fmt.Fprintln(textView, "[::b] "+cmdPrefix+"disconnect[::-] = close the connection")
fmt.Fprintln(textView, "[::b] "+cmdPrefix+"logout[::-] = remove login data from computer (stays connected until app closes)")
fmt.Fprintln(textView, "[::b] "+cmdPrefix+"help [::-]or[::b]", config.Config.Keymap.CommandHelp, "[::-] = show this help")