copyWith method
ForwardMessages
copyWith({
- int? chatId,
- MessageTopic? topicId,
- int? fromChatId,
- List<
int> ? messageIds, - MessageSendOptions? options,
- bool? sendCopy,
- bool? removeCaption,
Implementation
ForwardMessages copyWith({
int? chatId,
MessageTopic? topicId,
int? fromChatId,
List<int>? messageIds,
MessageSendOptions? options,
bool? sendCopy,
bool? removeCaption,
}) => ForwardMessages(
chatId: chatId ?? this.chatId,
topicId: topicId ?? this.topicId,
fromChatId: fromChatId ?? this.fromChatId,
messageIds: messageIds ?? this.messageIds,
options: options ?? this.options,
sendCopy: sendCopy ?? this.sendCopy,
removeCaption: removeCaption ?? this.removeCaption,
);