github.com/tada-team/tdproto@v1.51.57/billing_team.go (about) 1 package tdproto 2 3 import "time" 4 5 // TeamBilling struct of billing api 6 type TeamBilling struct { 7 TeamUuid string `json:"team_uuid,omitempty"` 8 DeleteDate time.Time `json:"delete_date,omitempty"` 9 } 10 11 // AddTeamOnPersonalAccountRequest request on add team on personal account 12 type AddTeamOnPersonalAccountRequest struct { 13 TeamBilling 14 } 15 16 // AddTeamOnPersonalAccountResponse response on add team on personal account 17 type AddTeamOnPersonalAccountResponse struct { 18 Success bool `json:"success,omitempty"` 19 } 20 21 // DeleteTeamFromPersonalAccountRequest request on delete team from personal account 22 type DeleteTeamFromPersonalAccountRequest struct { 23 TeamBilling 24 } 25 26 // DeleteTeamFromPersonalAccountResponse response on delete team from personal account 27 type DeleteTeamFromPersonalAccountResponse struct { 28 Success bool `json:"success,omitempty"` 29 }