func (api *API) GetAccountTicket(from, to hash.Hash, subscriptionID string) (*ticket.Ticket, error) {
	url := fmt.Sprintf("/account/%s/ticket", from.String())

	return api.retrieveTicket(url, from, to, subscriptionID)
}
// GetAccountTicket retrieves a ticket that can be used for uploading a message
GetAccountTicket retrieves a ticket that can be used for uploading a message
// GetAccountTicket retrieves a ticket that can be used for uploading a message
func (api *API) GetAccountTicket(from, to hash.Hash, subscriptionID string) (*ticket.Ticket, error) {
	url := fmt.Sprintf("/account/%s/ticket", from.String())
	return api.retrieveTicket(url, from, to, subscriptionID)
}
func ( api * API ) GetAccountTicket ( from , to hash . Hash , subscriptionID string ) ( * ticket . Ticket , error ) { url := fmt . Sprintf ( " " , from . String ( ) ) return api . retrieveTicket ( url , from , to , subscriptionID ) }
GetAccountTicket retrieves a ticket that can be used for uploading a message
GetAccountTicket retrieves a ticket that can be used for uploading a message