Last active
February 8, 2023 00:54
-
-
Save HunterXProgrammer/1e6fe8a06c006f65bd5d8c30eced2faf to your computer and use it in GitHub Desktop.
Adds CLI(command-line interface) support for sending text messages/images/videos/pdf/documents via whatsmeow mdtest command in Termux/Tasker. Check this for info - https://www.reddit.com/r/tasker/comments/10wiahq/howto_send_imagesvideospdfdocuments_in_whatsapp/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
args := os.Args[1:] | |
if len(args) > 0 { | |
handleCmd(strings.ToLower(args[0]), args[1:]) | |
return | |
} | |
c := make(chan os.Signal) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment