diff --git a/rocketchat_API/APISections/groups.py b/rocketchat_API/APISections/groups.py index b564b1a..a2c71e5 100644 --- a/rocketchat_API/APISections/groups.py +++ b/rocketchat_API/APISections/groups.py @@ -111,7 +111,7 @@ def groups_set_announcement(self, room_id, announcement, **kwargs): return self.call_api_post( "groups.setAnnouncement", roomId=room_id, - announcement=announce, + announcement=announcement, kwargs=kwargs, )