peyk.platforms.rubika.types.metadata_part¶
Classes
|
Represent the Rubika Bot API |
- class peyk.platforms.rubika.types.metadata_part.MetadataPart(type: str = '', from_index: int = 0, length: int = 0, link_url: str | None = None, mention_text_user_id: str | None = None)[source]¶
Bases:
objectRepresent the Rubika Bot API
MetadataParttype.The class preserves the existing public fields and wire-format behavior.
- type: str = ''¶
- from_index: int = 0¶
- length: int = 0¶
- link_url: str | None = None¶
- mention_text_user_id: str | None = None¶
- classmethod from_dict(data: dict | None) MetadataPart | 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.