ComposeTextWithAi constructor
const
ComposeTextWithAi({
- required FormattedText text,
- required String translateToLanguageCode,
- required String styleName,
- required bool addEmojis,
Changes text using an AI model; must not be used in secret chats. May return an error with a message "AICOMPOSE_FLOOD_PREMIUM" if Telegram Premium is required to send further requests
Implementation
const ComposeTextWithAi({
required this.text,
required this.translateToLanguageCode,
required this.styleName,
required this.addEmojis,
});