Files

14 lines
503 B
Go

// Command telegram is the Telegram connector: it delivers messages, with
// Approve and Deny buttons on an approval request, to the private chats of
// the users an operator allows, and listens for their taps. A tap becomes an
// approval.answer event, so an answer reaches Archie the way every event does.
package main
import "github.com/samcharles93/archipelago/sdk/connector"
func main() {
connector.Serve(func(cfg connector.Config) (connector.Connector, error) {
return newTelegram(cfg)
})
}