Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadCommand ¶
type UploadCommand struct {
common.Auth `group:"auth options"`
UploadPositional `positional-args:"yes" required:"yes"`
ChatID string `short:"C" long:"chat-id" env:"DNQ_CHAT_ID" required:"true" description:"chat id: unique int id or @username."`
Caption string `short:"c" long:"caption" description:"set caption for the uploaded file."`
Matches []string `short:"m" long:"matches" description:"a keyword matching list"`
Output string `` /* 150-byte string literal not displayed */
}
func (*UploadCommand) Execute ¶
func (command *UploadCommand) Execute(_ []string) (err error)
type UploadPositional ¶
Click to show internal directories.
Click to hide internal directories.