MessageSendOptions constructor

const MessageSendOptions({
  1. InputSuggestedPostInfo? suggestedPostInfo,
  2. required bool disableNotification,
  3. required bool fromBackground,
  4. bool? protectContent,
  5. bool? allowPaidBroadcast,
  6. required int paidMessageStarCount,
  7. required bool updateOrderOfInstalledStickerSets,
  8. MessageSchedulingState? schedulingState,
  9. required int effectId,
  10. required int sendingId,
  11. required bool onlyPreview,
})

Implementation

const MessageSendOptions({
  this.suggestedPostInfo,
  required this.disableNotification,
  required this.fromBackground,
  this.protectContent,
  this.allowPaidBroadcast,
  required this.paidMessageStarCount,
  required this.updateOrderOfInstalledStickerSets,
  this.schedulingState,
  required this.effectId,
  required this.sendingId,
  required this.onlyPreview,
});