MessageProperties constructor
MessageProperties({
- required bool canAddOffer,
- required bool canAddTasks,
- required bool canBeApproved,
- required bool canBeCopied,
- required bool canBeCopiedToSecretChat,
- required bool canBeDeclined,
- required bool canBeDeletedOnlyForSelf,
- required bool canBeDeletedForAllUsers,
- required bool canBeEdited,
- required bool canBeForwarded,
- required bool canBePaid,
- required bool canBePinned,
- required bool canBeReplied,
- required bool canBeRepliedInAnotherChat,
- required bool canBeSaved,
- required bool canDeleteReactions,
- required bool canEditMedia,
- required bool canEditSchedulingState,
- required bool canEditSuggestedPostInfo,
- required bool canGetAuthor,
- required bool canGetEmbeddingCode,
- required bool canGetLink,
- required bool canGetMediaTimestampLinks,
- required bool canGetMessageThread,
- required bool canGetPollVoteStatistics,
- required bool canGetReadDate,
- required bool canGetStatistics,
- required bool canGetVideoAdvertisements,
- required bool canGetViewers,
- required bool canMarkTasksAsDone,
- required bool canRecognizeSpeech,
- required bool canReportChat,
- required bool canReportReactions,
- required bool canReportSupergroupSpam,
- required bool canSetFactCheck,
- required bool hasProtectedContentByCurrentUser,
- required bool hasProtectedContentByOtherUser,
- required bool needShowStatistics,
Implementation
MessageProperties({
required this.canAddOffer,
required this.canAddTasks,
required this.canBeApproved,
required this.canBeCopied,
required this.canBeCopiedToSecretChat,
required this.canBeDeclined,
required this.canBeDeletedOnlyForSelf,
required this.canBeDeletedForAllUsers,
required this.canBeEdited,
required this.canBeForwarded,
required this.canBePaid,
required this.canBePinned,
required this.canBeReplied,
required this.canBeRepliedInAnotherChat,
required this.canBeSaved,
required this.canBeSharedInStory,
required this.canDeleteReactions,
required this.canEditMedia,
required this.canEditSchedulingState,
required this.canEditSuggestedPostInfo,
required this.canGetAuthor,
required this.canGetEmbeddingCode,
required this.canGetLink,
required this.canGetMediaTimestampLinks,
required this.canGetMessageThread,
required this.canGetPollVoteStatistics,
required this.canGetReadDate,
required this.canGetStatistics,
required this.canGetVideoAdvertisements,
required this.canGetViewers,
required this.canMarkTasksAsDone,
required this.canRecognizeSpeech,
required this.canReportChat,
required this.canReportReactions,
required this.canReportSupergroupSpam,
required this.canSetFactCheck,
required this.hasProtectedContentByCurrentUser,
required this.hasProtectedContentByOtherUser,
required this.needShowStatistics,
});