peyk.platforms.telegram.types.rich_block_collage

Classes

RichBlockCollage([items])

A collage, corresponding to the custom HTML tag .

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

Bases: object

A collage, corresponding to the custom HTML tag .

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

  • blocks – Elements of the collage

  • 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.