bots.createBot

 Method schema is available as of layer 224. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
via_deeplink flags.0?true  
name string  
username string  
manager_id InputUser  

Result

User

Both users and bots can use this method