InputStoryContent¶ class telegram.InputStoryContent(type, *, api_kwargs=None)[source]¶ Bases: telegram.TelegramObject This object describes the content of a story to post. Currently, it can be one of: telegram.InputStoryContentPhoto telegram.InputStoryContentVideo Use In telegram.Bot.edit_story() telegram.Bot.post_story() Added in version 22.1. Parameters: type (str) – Type of the content. type[source]¶ Type of the content. Type: str PHOTO = 'photo'[source]¶ telegram.constants.InputStoryContentType.PHOTO VIDEO = 'video'[source]¶ telegram.constants.InputStoryContentType.VIDEO