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

     1  package tdapi
     2  
     3  import "github.com/tada-team/tdproto"
     4  
     5  // Draft form and response
     6  type Draft struct {
     7  	// Draft content
     8  	Draft string `json:"draft"`
     9  
    10  	// Deprecated: use Revision instead
    11  	DraftGentime int64 `json:"draft_gentime,omitempty"  tdproto:"readonly"`
    12  
    13  	// Unixtime(ms)
    14  	Revision int64 `json:"revision,omitempty"`
    15  
    16  	// TdMarkup found in content (links included)
    17  	Markup []tdproto.MarkupEntity `json:"markup,omitempty"  tdproto:"readonly"`
    18  
    19  	// Deprecated: use Markup instead
    20  	Links tdproto.MessageLinks `json:"links,omitempty"  tdproto:"readonly"`
    21  }