TeamsChannelAccount type

Represents a Teams channel account, extending the basic channel account with Teams-specific properties. This is used to represent a user or bot in Microsoft Teams conversations.

See https://learn.microsoft.com/en-us/dotnet/api/microsoft.bot.schema.teams.teamschannelaccount

type TeamsChannelAccount<P> = {
  aadObjectId?: string
  email?: string
  givenName?: string
  id: string
  name: string
  properties?: P
  surname?: string
  tenantId?: string
  userPrincipalName?: string
  userRole?: string
}