Closes existing session of aiohttp. Use this function if you stop polling/webhooks.
()
| 212 | |
| 213 | @staticmethod |
| 214 | async def close_session(): |
| 215 | """ |
| 216 | Closes existing session of aiohttp. |
| 217 | Use this function if you stop polling/webhooks. |
| 218 | """ |
| 219 | await asyncio_helper.session_manager.session.close() |
| 220 | |
| 221 | async def get_updates(self, offset: Optional[int]=None, limit: Optional[int]=None, |
| 222 | timeout: Optional[int]=20, allowed_updates: Optional[List]=None, request_timeout: Optional[int]=None) -> List[types.Update]: |
no test coverage detected