ClickChatSponsoredMessage constructor

const ClickChatSponsoredMessage({
  1. required int chatId,
  2. required int messageId,
  3. required bool isMediaClick,
  4. required bool fromFullscreen,
})

Informs TDLib that the user opened the sponsored chat via the button, the name, the chat photo, a mention in the sponsored message text, or the media in the sponsored message

Implementation

const ClickChatSponsoredMessage({
  required this.chatId,
  required this.messageId,
  required this.isMediaClick,
  required this.fromFullscreen,
});