aelkheir · GitHub

added 5 commits

April 26, 2025 08:33
Business Accounts
- Added the classes `InputStoryContentPhoto` and `InputStoryContentVideo`
  representing the content of a story to post.
Business Accounts
- Added the classes `StoryArea`, `StoryAreaPosition`, `LocationAddress`,
  `StoryAreaTypeLocation`, `StoryAreaTypeSuggestedReaction`,
  `StoryAreaTypeLink`, `StoryAreaTypeWeather` and
  `StoryAreaTypeUniqueGift`, describing clickable active areas on stories.
Business Accounts
- Added the method `postStory`, allowing bots to post a story on behalf of
  a managed business account.
- Added the method `editStory`, allowing bots to edit stories they had
  previously posted on behalf of a managed business account.
- Added the method `deleteStory`, allowing bots to delete stories they had
  previously posted on behalf of a managed business account.

Closed

35 tasks

1. a missing `self._freez()`
2. a missing exception to `test_types_are_converted_to_enum`.

vipzonevip

Bibo-Joshi

@Bibo-Joshi

Bibo-Joshi

@aelkheir

Bibo-Joshi

…-stories
Conflicts:
	changes/unreleased/4756.JT5nmUmGRG6qDEh5ScMn5f.toml
	docs/source/inclusions/bot_methods.rst
	telegram/constants.py
	telegram/request/_requestparameter.py
	tests/request/test_requestparameter.py
	tests/test_business_methods.py
	tests/test_official/exceptions.py

@Bibo-Joshi

@Bibo-Joshi

Read the original on github.com ↗