copyWith method

SetChatTextCompositionParameters copyWith({
  1. int? chatId,
  2. TextCompositionParameters? textCompositionParameters,
})

Implementation

SetChatTextCompositionParameters copyWith({
  int? chatId,
  TextCompositionParameters? textCompositionParameters,
}) =>
    SetChatTextCompositionParameters(
      chatId: chatId ?? this.chatId,
      textCompositionParameters:
          textCompositionParameters ?? this.textCompositionParameters,
    );