peyk.platforms.rubika.types.metadata

Classes

Metadata(meta_data_parts)

Represent the Rubika Bot API Metadata type.

class peyk.platforms.rubika.types.metadata.Metadata(meta_data_parts: List[MetadataPart] = <factory>)[source]

Bases: object

Represent the Rubika Bot API Metadata type.

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

meta_data_parts: List[MetadataPart]
classmethod from_dict(data: dict | None) Metadata | 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.

to_dict() Dict[str, object][source]

Performs the to dict operation for the Rubika client.

Returns:

Result produced by the Rubika operation.