peyk.platforms.rubika.types.get_updates_result

Classes

GetUpdatesResult(updates, next_offset_id)

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: object

Wrapper for the getUpdates response payload.

Confirmed from the official docs: the data field carries both updates (list) and next_offset_id (the offset to pass on the next call).

updates: List[Update]
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.