UserMessageCreateParams.withMessage constructor
- UserMessage userMessage,
- {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);