TeleDartMessage constructor

TeleDartMessage(
  1. TeleDart _teledart,
  2. Message message
)

Implementation

TeleDartMessage(this._teledart, Message message)
    : super(
        messageId: message.messageId,
        messageThreadId: message.messageThreadId,
        from: message.from,
        date: message.date,
        senderChat: message.senderChat,
        chat: message.chat,
        forwardFrom: message.forwardFrom,
        forwardFromChat: message.forwardFromChat,
        forwardFromMessageId: message.forwardFromMessageId,
        forwardSignature: message.forwardSignature,
        forwardSenderName: message.forwardSenderName,
        forwardDate: message.forwardDate,
        isTopicMessage: message.isTopicMessage,
        isAutomaticForward: message.isAutomaticForward,
        replyToMessage: message.replyToMessage,
        viaBot: message.viaBot,
        editDate: message.editDate,
        hasProtectedContent: message.hasProtectedContent,
        mediaGroupId: message.mediaGroupId,
        authorSignature: message.authorSignature,
        text: message.text,
        entities: message.entities,
        animation: message.animation,
        audio: message.audio,
        document: message.document,
        photo: message.photo,
        sticker: message.sticker,
        story: message.story,
        video: message.video,
        videoNote: message.videoNote,
        voice: message.voice,
        caption: message.caption,
        captionEntities: message.captionEntities,
        hasMediaSpoiler: message.hasMediaSpoiler,
        contact: message.contact,
        dice: message.dice,
        game: message.game,
        poll: message.poll,
        venue: message.venue,
        location: message.location,
        newChatMembers: message.newChatMembers,
        leftChatMember: message.leftChatMember,
        newChatTitle: message.newChatTitle,
        newChatPhoto: message.newChatPhoto,
        deleteChatPhoto: message.deleteChatPhoto,
        groupChatCreated: message.groupChatCreated,
        supergroupChatCreated: message.supergroupChatCreated,
        channelChatCreated: message.channelChatCreated,
        messageAutoDeleteTimerChanged: message.messageAutoDeleteTimerChanged,
        migrateToChatId: message.migrateToChatId,
        migrateFromChatId: message.migrateFromChatId,
        pinnedMessage: message.pinnedMessage,
        invoice: message.invoice,
        successfulPayment: message.successfulPayment,
        userShared: message.userShared,
        chatShared: message.chatShared,
        connectedWebsite: message.connectedWebsite,
        writeAccessAllowed: message.writeAccessAllowed,
        passportData: message.passportData,
        proximityAlertTriggered: message.proximityAlertTriggered,
        forumTopicCreated: message.forumTopicCreated,
        forumTopicEdited: message.forumTopicEdited,
        forumTopicClosed: message.forumTopicClosed,
        forumTopicReopened: message.forumTopicReopened,
        generalForumTopicHidden: message.generalForumTopicHidden,
        generalForumTopicUnhidden: message.generalForumTopicUnhidden,
        videoChatScheduled: message.videoChatScheduled,
        videoChatStarted: message.videoChatStarted,
        videoChatEnded: message.videoChatEnded,
        videoChatParticipantsInvited: message.videoChatParticipantsInvited,
        webAppData: message.webAppData,
        replyMarkup: message.replyMarkup,
      );