diff --git a/libraries/botframework-connector/src/connectorApi/models/mappers.ts b/libraries/botframework-connector/src/connectorApi/models/mappers.ts index 559bb2a97b..b6b104410b 100644 --- a/libraries/botframework-connector/src/connectorApi/models/mappers.ts +++ b/libraries/botframework-connector/src/connectorApi/models/mappers.ts @@ -158,6 +158,12 @@ export const ChannelAccount: CompositeMapper = { type: { name: "String" } + }, + properties: { + serializedName: "properties", + type: { + name: "Object" + } } } } diff --git a/libraries/botframework-schema/etc/botframework-schema.api.md b/libraries/botframework-schema/etc/botframework-schema.api.md index f790bdef6c..f41816f47e 100644 --- a/libraries/botframework-schema/etc/botframework-schema.api.md +++ b/libraries/botframework-schema/etc/botframework-schema.api.md @@ -579,6 +579,7 @@ export interface ChannelAccount { aadObjectId?: string; id: string; name: string; + properties?: any; role?: RoleTypes | string; } diff --git a/libraries/botframework-schema/src/index.ts b/libraries/botframework-schema/src/index.ts index 019813f808..f98e101ec7 100644 --- a/libraries/botframework-schema/src/index.ts +++ b/libraries/botframework-schema/src/index.ts @@ -155,6 +155,11 @@ export interface ChannelAccount { * 'user', 'bot', 'skill' */ role?: RoleTypes | string; + + /** + * Custom properties object (optional) + */ + properties?: any; // eslint-disable-line @typescript-eslint/no-explicit-any } const channelAccount = z.object({