peyk.platforms.rubika.types.get_updates_result¶
Classes
|
Wrapper for the getUpdates response payload. |
- class peyk.platforms.rubika.types.get_updates_result.GetUpdatesResult(updates: List[Update] = <factory>, next_offset_id: Optional[str] = None)[source]¶
Bases:
objectWrapper for the getUpdates response payload.
Confirmed from the official docs: the
datafield carries bothupdates(list) andnext_offset_id(the offset to pass on the next call).- next_offset_id: str | None = None¶
- classmethod from_data(data: object) GetUpdatesResult[source]¶
Performs the from data operation for the Rubika client.
- Parameters:
data – Value used by this operation.
- Returns:
Result produced by the Rubika operation.