Mbonea commited on
Commit
768269f
·
1 Parent(s): 55ec146
Files changed (1) hide show
  1. App/Android/Android.py +6 -0
App/Android/Android.py CHANGED
@@ -98,3 +98,9 @@ class AndroidClient:
98
  async def close(self):
99
  """Close the client session."""
100
  await self.client.aclose()
 
 
 
 
 
 
 
98
  async def close(self):
99
  """Close the client session."""
100
  await self.client.aclose()
101
+
102
+ async def activate_user(self, phone_number: str):
103
+ request = SetUserStatusRequest(phone=phone_number, disabled=False)
104
+ await self.set_user_status(request=request)
105
+ # Replace this with actual API call logic
106
+ return {"status": "success", "message": "User activated."}