Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "send-file", Short: "Send a file to a Telegram chat", Args: cobra.NoArgs, Run: func(c *cobra.Command, args []string) { err := telegram_utils.TelegramSendFile(FlagBotToken, FlagChatID, FlagFile, FlagMessage, FlagAsPhoto) if err != nil { log.Fatalln(err) } }, }
View Source
var FlagAsPhoto bool
View Source
var FlagBotToken string
View Source
var FlagChatID int64
View Source
var FlagFile string
View Source
var FlagMessage string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.