Set commands for a Telegram Bot
For more information, refer to:
resource "telegram_bot_commands" "example" {
commands = [
{
command = "start",
description = "View welcome message"
},
{
command = "help",
description = "Show help"
}
]
}
The following arguments are supported:
commands
- (Required) The list of commands for the bot. Structure is documented below.
The commands
block supports:
command
(Required) - The name of the commanddescription
(Required) - Help text for the command
In addition to all arguments above, the following attributes are exported: