github.com/tada-team/tdproto@v1.51.57/tdapi/easy_api.go (about) 1 package tdapi 2 3 // Simple api for integrations /api/message or /tasks/[team]/[num]/message 4 type EasyApiMessage struct { 5 // Comma separated api keys (for /api/message calls only) 6 Key string `json:"key"` 7 8 // Message text. Required. 9 Text string `json:"message"` 10 11 // Message uuid. Optional 12 MessageUid string `json:"message_id"` 13 14 // Disable links preview 15 Nopreview bool `json:"nopreview"` 16 17 // Mark message as important 18 Important bool `json:"important"` 19 20 // Disable counters and push notifications 21 Silently bool `json:"silently"` 22 23 // Convert "\\n" to "\n" 24 ConvertLinebreaks bool `json:"convert_linebreaks"` 25 26 }