peyk.platforms.telegram.types.suggested_post_approved

Classes

SuggestedPostApproved([...])

Describes a service message about the approval of a suggested post.

class peyk.platforms.telegram.types.suggested_post_approved.SuggestedPostApproved(suggested_post_message: Message | None = None, price: object | None = None)[source]

Bases: object

Describes a service message about the approval of a suggested post.

Variables:
  • send_date – Date when the post will be published

  • suggested_post_message (peyk.platforms.telegram.types.message.Message | None) – Message containing the suggested post. Note that the Message object in this field will not contain the reply_to_message field even if it itself is a reply.

  • price (object | None) – Amount paid for the post

suggested_post_message: Message | None = None
price: object | None = None
classmethod from_dict(data: dict | None) SuggestedPostApproved | None[source]

Provides the from dict operation for the Telegram integration.

Parameters:

data – Value used by this operation.

Returns:

Result produced by the operation.