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

     1  package tdproto
     2  
     3  // Task project or contact section
     4  type Section struct {
     5  	// Section uid
     6  	Uid string `json:"uid"`
     7  
     8  	// Sort ordering
     9  	SortOrdering uint `json:"sort_ordering"`
    10  
    11  	// Name
    12  	Name string `json:"name"`
    13  
    14  	// Object version
    15  	Gentime int64 `json:"gentime"`
    16  
    17  	// Description, if any
    18  	Description string `json:"description,omitempty"`
    19  
    20  	// Is deleted
    21  	IsArchive bool `json:"is_archive,omitempty"`
    22  }
    23  
    24  // Deleted task project or contact section
    25  type DeletedSection struct {
    26  	// Section uid
    27  	Uid string `json:"uid"`
    28  
    29  	// Object version
    30  	Gentime int64 `json:"gentime"`
    31  }