peyk.platforms.telegram.types.story

Classes

Story([chat, id])

This object represents a story.

class peyk.platforms.telegram.types.story.Story(chat: Chat | None = None, id: int | None = None)[source]

Bases: object

This object represents a story.

Variables:
chat: Chat | None = None
id: int | None = None
classmethod from_dict(data: dict | None) Story | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.