public interface UserData
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias(java.lang.String formid)
Fetch alias for a message (formid).
|
java.lang.String |
getEmail()
Get the email address associated with the bot.
|
java.lang.String |
getLastMsgId()
Get id of the last message posted by bot itself.
|
java.lang.String |
getLastMsgTimestamp()
Timestamp when last message was received by the bot.
|
java.lang.String |
getPassword()
Get the password (clear text) associated with the bot.
|
java.lang.String |
getToken()
Get the security token of the user, if user is authenticated.
|
java.lang.String |
getUserId()
Get the user's teamchat user id
|
void |
updateAlias(java.lang.String formid,
java.lang.String alias)
Set alias for the message (formid), .
|
void |
updateEmail(java.lang.String email)
Set the email address associated with the bot.
|
void |
updateLastMsgId(java.lang.String msgid)
Set id of the last message posted by bot itself.
|
void |
updateLastMsgTimestamp(java.lang.String lastMsgTimestamp)
Last message timestamp set by eventstream when a message arrives.
|
void |
updatePassword(java.lang.String password)
Set the password (clear text) associated with the bot.
|
void |
updateToken(java.lang.String token)
Security token of the user set by API, if user is authenticated.
|
void |
updateUserId(java.lang.String userId)
User's teamchat user id set by API when user is authenticated.
|
java.lang.String getEmail()
java.lang.String getPassword()
java.lang.String getToken()
java.lang.String getUserId()
java.lang.String getLastMsgTimestamp()
java.lang.String getAlias(java.lang.String formid)
java.lang.String getLastMsgId()
void updateEmail(java.lang.String email)
void updatePassword(java.lang.String password)
void updateToken(java.lang.String token)
void updateUserId(java.lang.String userId)
void updateLastMsgTimestamp(java.lang.String lastMsgTimestamp)
void updateAlias(java.lang.String formid, java.lang.String alias)
void updateLastMsgId(java.lang.String msgid)