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

     1  package tdapi
     2  
     3  import "github.com/tada-team/tdproto"
     4  
     5  type UploadFilter struct {
     6  	Paginator
     7  
     8  	// ?chat=jid,jid
     9  	Chat string `schema:"chat"`
    10  
    11  	// ?sender=jid,jid
    12  	Sender string `schema:"sender"`
    13  
    14  	// ?content_type=image/jpeg
    15  	ContentType string `schema:"content_type"`
    16  
    17  	// ?type=file,image,audio,video
    18  	Type tdproto.Mediatype `schema:"type"`
    19  
    20  	// ?text=substr
    21  	Text string `schema:"text"`
    22  }