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

     1  package tdproto
     2  
     3  // Account from other team, Active Directory or node
     4  type InvitableUser struct {
     5  	// Account id
     6  	Uid string `json:"uid"`
     7  
     8  	// Node uid for external users
     9  	Node string `json:"node,omitempty"`
    10  
    11  	// Full name
    12  	DisplayName string `json:"display_name"`
    13  
    14  	// Icons
    15  	Icons IconData `json:"icons"`
    16  
    17  	// Common team uids, if any
    18  	Teams []string `json:"teams,omitempty"`
    19  
    20  	// Флаг нахождения пользователя на другом аккаунте
    21  	FromAnotherAccount bool `json:"from_another_account,omitempty"`
    22  }