github.com/tada-team/tdproto@v1.51.57/message_push.go (about) 1 package tdproto 2 3 // Push message over websockets. Readonly. 4 type MessagePush struct { 5 // Push title 6 Title string `json:"title"` 7 8 // Push subtitle 9 Subtitle string `json:"subtitle"` 10 11 // Push body 12 Message string `json:"message"` 13 14 // Absolute url to push icon 15 IconUrl string `json:"icon_url"` 16 17 // Url opened on click 18 ClickAction string `json:"click_action"` 19 20 // Push tag (for join pushes) 21 Tag string `json:"tag"` 22 23 // Team uid 24 Team string `json:"team"` 25 26 // Sender contact id 27 Sender JID `json:"sender"` 28 29 // Chat id 30 Chat JID `json:"chat"` 31 32 // Message id 33 MessageId string `json:"message_id"` 34 35 // Message creation iso datetime 36 Created ISODateTimeString `json:"created"` 37 }