telegram api method · layer 229 · #4aa83913

aicompose.createTone

usable by users and bots

definition

aicompose.createTone#4aa83913 flags:# display_author:flags.0?true emoji_id:long title:string prompt:string = AiComposeTone;

parameters

nametypedescription
flags#Flags, see TL conditional fields
display_authorflags.0?true
emoji_idlong
titlestring
promptstring

returns

AiComposeTone

errors (3)

codeerrordescription
400AICOMPOSE_TONE_TITLE_INVALIDThe specified tone title is invalid.
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 225–229

idlayers
#4aa83913225–229