peyk.platforms.rubika.types.location

Classes

Location([latitude, longitude])

Represent the Rubika Bot API Location type.

class peyk.platforms.rubika.types.location.Location(latitude: str | None = None, longitude: str | None = None)[source]

Bases: object

Represent the Rubika Bot API Location type.

The class preserves the existing public fields and wire-format behavior.

latitude: str | None = None
longitude: str | None = None
classmethod from_dict(data: dict | None) Location | None[source]

Performs the from dict operation for the Rubika client.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the Rubika operation.