MessageActionsPayloadUser Class

  • java.lang.Object
    • com.microsoft.bot.schema.teams.MessageActionsPayloadUser

public class MessageActionsPayloadUser

Represents a user entity.

Constructor Summary

Constructor Description
MessageActionsPayloadUser()

Method Summary

Modifier and Type Method and Description
java.lang.String getDisplayName()

Gets the plaintext display name of the user.

java.lang.String getId()

Gets the id of the user.

java.lang.String getUserIdentityType()

Gets the identity type of the user.

void setDisplayName(String withDisplayName)

Sets the plaintext display name of the user.

void setId(String withId)

Sets the id of the user.

void setUserIdentityType(String withUserIdentityType)

Sets the identity type of the user.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MessageActionsPayloadUser

public MessageActionsPayloadUser()

Method Details

getDisplayName

public String getDisplayName()

Gets the plaintext display name of the user.

Returns:

The plaintext display name.

getId

public String getId()

Gets the id of the user.

Returns:

The user id.

getUserIdentityType

public String getUserIdentityType()

Gets the identity type of the user. Possible values include: 'aadUser', 'onPremiseAadUser', 'anonymousGuest', 'federatedUser'

Returns:

The user type.

setDisplayName

public void setDisplayName(String withDisplayName)

Sets the plaintext display name of the user.

Parameters:

withDisplayName - The plaintext display name.

setId

public void setId(String withId)

Sets the id of the user.

Parameters:

withId - The user id.

setUserIdentityType

public void setUserIdentityType(String withUserIdentityType)

Sets the identity type of the user. Possible values include: 'aadUser', 'onPremiseAadUser', 'anonymousGuest', 'federatedUser'

Parameters:

withUserIdentityType - The user type.

Applies to