User

This object represents a nandbox user or bot account.

FieldTypeRequiredDescription
idStringYesUnique identifier for this user or bot
nameStringYesUser or bot name.
versionStringYesLast updated user profile version.
terminal

 

StringOptional Mobile if it is sent from mobile, API if it is sent from API. It will returned only if the user object come inside incoming message
typeStringOptionalContact if it is sent from normal user, Bot if it is sent from Bot. It will returned only if the user object come inside incoming message
is_botBooleanOptionalTrue if this user is a bot. Returned only in GetUser
statusStringOptionalUser status. Returned only in GetUser ,
photoPhotoOptionalPublic user’s Photo. Returned only in GetUser
profileStringOptionalProfile type “Other” , ”Friend” , “Work” or “Family” 
Was this helpful to you?