Support Venue Message.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-10-14 16:28:40 +08:00
parent b52dcfe9c2
commit 693f15783c
4 changed files with 58 additions and 1 deletions
+6
View File
@@ -62,6 +62,11 @@ func main() {
Usage: "send location message",
EnvVar: "PLUGIN_LOCATION",
},
cli.StringSliceFlag{
Name: "venue",
Usage: "send venue message",
EnvVar: "PLUGIN_VENUE",
},
cli.StringSliceFlag{
Name: "video",
Usage: "send video message",
@@ -163,6 +168,7 @@ func run(c *cli.Context) error {
Voice: c.StringSlice("voice"),
Location: c.StringSlice("location"),
Video: c.StringSlice("video"),
Venue: c.StringSlice("venue"),
Format: c.String("format"),
},
}