class UserProfile

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
handleUserProfileHandleUser handle (no need to set it with CreateUserProfile())To set handle, you simply assign a value directly to a field within handle. You can also use the parent message's HasField() method to check if a message type field value has been set.
usernamestrUsername, which is used to connect to robot (or login via Web App)You can manipulate the field username as if it were a regular field. To clear the value of username and reset it to the default value for its type, you call the ClearField() method of the Message interface.
firstnamestrUser's first nameYou can manipulate the field firstname as if it were a regular field. To clear the value of firstname and reset it to the default value for its type, you call the ClearField() method of the Message interface.
lastnamestrUser's last nameYou can manipulate the field lastname as if it were a regular field. To clear the value of lastname and reset it to the default value for its type, you call the ClearField() method of the Message interface.
application_datastrApplication data (reserved for use by Web App)You can manipulate the field application_data as if it were a regular field. To clear the value of application_data and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: Base (Python)