messages.toggleBotInAttachMenu

Enable or disable web bot attachment menu »

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.toggleBotInAttachMenu#69f59d69 flags:# write_allowed:flags.0?true bot:InputUser enabled:Bool = Bool;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
write_allowed flags.0?true  
bot InputUser Bot ID
enabled Bool Toggle

Result

Bool

Related pages

Bot attachment menu entries

Bots can install attachment menu entries, offering conveniently accessible, versatile web apps.