@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
25 lines (23 loc) • 650 B
TypeScript
/**
*
* An interface representing MessageActionsPayloadUser.
* Represents a user entity.
*
*/
type MessageUser = {
/**
* @member {UserIdentityType} [userIdentityType] The identity type of the
* user. Possible values include: 'aadUser', 'onPremiseAadUser',
* 'anonymousGuest', 'federatedUser'
*/
userIdentityType?: 'aadUser' | 'onPremiseAadUser' | 'anonymousGuest' | 'federatedUser';
/**
* @member {string} [id] The id of the user.
*/
id: string;
/**
* @member {string} [displayName] The plaintext display name of the user.
*/
displayName?: string;
};
export type { MessageUser };