microsoft / botbuilder-python

The Microsoft Bot Framework provides what you need to build and connect intelligent bots that interact naturally wherever your users are talking, from text/sms to Skype, Slack, Office 365 mail and other popular services.
http://botframework.com
MIT License
696 stars 279 forks source link

Fix TeamsChannelAccount model #2083

Closed nuno-andre closed 6 months ago

nuno-andre commented 6 months ago

Fixes #2084

Fixes TeamsChannelAccount.add_object_id property.

The curent definition returns an additional property and a null add_object_id:

{'additional_property': {'aadObjectId': <UUID>}, 'add_object_id`: None}

instead of:

 {'additional_properties': {}, `add_object_id` <UUID>}

See: https://learn.microsoft.com/en-us/dotnet/api/microsoft.bot.schema.teams.teamschannelaccount?view=botbuilder-dotnet-stable