SendStory constructor
const
SendStory({
- required int chatId,
- required InputStoryContent content,
- InputStoryAreas? areas,
- FormattedText? caption,
- required StoryPrivacySettings privacySettings,
- required int activePeriod,
- required StoryFullId fromStoryFullId,
- required bool isPinned,
- required bool protectContent,
Sends a new story to a chat; requires can_post_stories right for supergroup and channel chats. Returns a temporary story
Implementation
const SendStory({
required this.chatId,
required this.content,
this.areas,
this.caption,
required this.privacySettings,
required this.activePeriod,
required this.fromStoryFullId,
required this.isPinned,
required this.protectContent,
});