Repository: microsoft/botbuilder-python

Issue:
Teams added, deleted and renamed API quite confusing?
## Version
4.10.1

## Describe the bug
While testing the application  on_teams_members_added , on_teams_members_removed is working fine but on_teams_team_renamed is not working instead of we have to use on_teams_team_renamed_activity api. 

**Note** : channel added , renamed , deleted events is working fine.

## Expected behavior
on_teams_team_renamed api should be work.




Discussion:
@rvinothrajendran There is no internal method called `on_teams_team_renamed()`. Please only override the methods found in the [`teams_activity_handler`](https://github.com/microsoft/botbuilder-python/blob/main/libraries/botbuilder-core/botbuilder/core/teams/teams_activity_handler.py). In this case, you want to stick with [`on_teams_team_renamed_activity()`](https://github.com/microsoft/botbuilder-python/blob/main/libraries/botbuilder-core/botbuilder/core/teams/teams_activity_handler.py#L603). You can also see we have this in [the docs, here](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-basics-teams?view=azure-bot-service-4.0&tabs=python#teams-bot-logic).
Thanks @mdrichardson 
My searching went wrong 😊 

APIs names are in same standard. 
1.	on_teams_members_added
2.	on_teams_members_removed
3.	on_teams_channel_created
4.	on_teams_channel_renamed
5.	on_teams_channel_deleted
but on_teams_team_renamed_activity api name is different, suffix “**activity**” has added is this any specific reason ?
@rvinothrajendran I see what you mean.

@axelsrz @tracyboehrer I think the naming of `on_teams_team_renamed_activity` may have been a mistake. Would it make sense to add an overload named `on_teams_team_renamed` (because Python SDK is GA, right?), or should we leave this as-is?

Resolving patch:
diff --git a/libraries/botbuilder-core/botbuilder/core/teams/teams_activity_handler.py b/libraries/botbuilder-core/botbuilder/core/teams/teams_activity_handler.py
--- a/libraries/botbuilder-core/botbuilder/core/teams/teams_activity_handler.py
+++ b/libraries/botbuilder-core/botbuilder/core/teams/teams_activity_handler.py
@@ -529,7 +529,7 @@ async def on_conversation_update_activity(self, turn_context: TurnContext):
                         channel_data.channel, channel_data.team, turn_context
                     )
                 if channel_data.event_type == "teamRenamed":
-                    return await self.on_teams_team_renamed_activity(
+                    return await self.on_teams_team_renamed(
                         channel_data.team, turn_context
                     )
                 if channel_data.event_type == "teamRestored":
@@ -600,10 +600,27 @@ async def on_teams_team_hard_deleted(  # pylint: disable=unused-argument
         """
         return
 
+    async def on_teams_team_renamed(  # pylint: disable=unused-argument
+        self, team_info: TeamInfo, turn_context: TurnContext
+    ):
+        """
+        Invoked when a Team Renamed event activity is received from the connector.
+        Team Renamed correspond to the user renaming an existing team.
+
+        :param team_info: The team info object representing the team.
+        :param turn_context: A context object for this turn.
+
+        :returns: A task that represents the work queued to execute.
+        """
+        return await self.on_teams_team_renamed_activity(team_info, turn_context)
+
     async def on_teams_team_renamed_activity(  # pylint: disable=unused-argument
         self, team_info: TeamInfo, turn_context: TurnContext
     ):
         """
+        DEPRECATED. Please use on_teams_team_renamed(). This method will remain in place throughout
+        v4 so as not to break existing bots.
+
         Invoked when a Team Renamed event activity is received from the connector.
         Team Renamed correspond to the user renaming an existing team.
 


Test patch: