github.com/tada-team/tdproto@v1.51.57/tdapi/integration.go (about)

     1  package tdapi
     2  
     3  import "github.com/tada-team/tdproto"
     4  
     5  type Integration struct {
     6  	// Enabled
     7  	Enabled bool `json:"enabled"`
     8  
     9  	// Optional commend
    10  	Comment string `json:"comment"`
    11  
    12  	// Plugin name
    13  	Kind string `json:"kind"`
    14  
    15  	// Group chat jid
    16  	GroupJid tdproto.JID `json:"group"`
    17  
    18  	// WebhookUrl, if any
    19  	WebhookUrl string `json:"webhook_url"`
    20  
    21  	// Integration form
    22  	IntegrationForm *tdproto.IntegrationForm `json:"form"`
    23  }