CanPostStory constructor

const CanPostStory({
  1. required int chatId,
})

Checks whether the current user can post a story on behalf of a chat; requires can_post_stories administrator right for supergroup and channel chats

Implementation

const CanPostStory({required this.chatId});