code: async def get_states_list(self) -> typing.List[typing.Tuple[int, int]]:
          
          async with self.connection() as conn:
              result = []
  
              items = (await r.table(self._table).run(conn)).items
  
              for item in items:
                  chat = int(item.pop('id'))
                  for key in item.keys():
                      user = int(key)
                      result.append((chat, user))
  
          return result
docs: Get list of all stored chat's and user's
  
          :return: list of tuples where first element is chat id and second is user id