TranslateText constructor
const
TranslateText({
- required FormattedText text,
- required String toLanguageCode,
Translates a text to the given language. If the current user is a Telegram Premium user, then text formatting is preserved
Implementation
const TranslateText({
required this.text,
required this.toLanguageCode,
});