PostStory constructor
const
PostStory({
- required int chatId,
- required InputStoryContent content,
- InputStoryAreas? areas,
- FormattedText? caption,
- required StoryPrivacySettings privacySettings,
- required List<
int> albumIds, - required int activePeriod,
- StoryFullId? fromStoryFullId,
- required bool isPostedToChatPage,
- required bool protectContent,
Posts a new story on behalf of a chat; requires can_post_stories administrator right for supergroup and channel chats. Returns a temporary story
Implementation
const PostStory({
required this.chatId,
required this.content,
this.areas,
this.caption,
required this.privacySettings,
required this.albumIds,
required this.activePeriod,
this.fromStoryFullId,
required this.isPostedToChatPage,
required this.protectContent,
});