UserMessageCreateParams.withMessage constructor

UserMessageCreateParams.withMessage(
  1. UserMessage userMessage,
  2. {bool? deepCopy}
)

withMessage

Implementation

UserMessageCreateParams.withMessage(UserMessage userMessage, {bool? deepCopy})
    : message = userMessage.message,
      translationTargetLanguages = userMessage.translations.keys.toList(),
      pollId = userMessage.poll?.id,
      super.withMessage(userMessage, deepCopy: deepCopy);