Account

Account

new Account(client, properties)

Account class
Parameters:
Name Type Description
client TDAPI The TDAPI client the account belongs to.
properties Object The properties to be initialized on the Account object (see: Properties).
Properties:
Name Type Description
ID Number The account/department ID.
Name String The account/department name.
IsActive Boolean The active status.
Address1 String The first address line.
Address2 String The second address line.
Address3 String The third address line.
Address4 String The fourth address line.
City String The city.
StateName String The name of the state/province.
StateAbbr String The abbreviation of the state/province.
PostalCode String The postal code.
Country String The country.
Phone String The phone number.
Fax String The fax number.
Url String The website URL.
Notes String The account notes.
CreatedDate Date The created date.
ModifiedDate Date The last modified date.
Code String The account code.
IndustryID Number The industry ID.
IndustryName String The industry name.
Domain String The domain.
Source:

Methods

edit() → {Promise.<Object>}

Edits the account.
Source:
Returns:
body
Type
Promise.<Object>