peyk.platforms.telegram.types.rich_block_slideshow

Classes

RichBlockSlideshow([items])

A slideshow, corresponding to the custom HTML tag .

class peyk.platforms.telegram.types.rich_block_slideshow.RichBlockSlideshow(items: List[object] | None = None)[source]

Bases: object

A slideshow, corresponding to the custom HTML tag .

Variables:
  • type – Type of the block, always ‘slideshow’

  • blocks – Elements of the slideshow

  • caption – Caption of the block

items: List[object] | None = None
classmethod from_dict(data)[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.