MadelineProtoDocs/docs/API_docs/constructors/attachMenuBots.md
2024-05-01 14:53:46 +02:00

1.2 KiB

title description nav_exclude image
attachMenuBots Represents a list of bot mini apps that can be launched from the attachment menu » true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: attachMenuBots

Back to constructors index

Represents a list of bot mini apps that can be launched from the attachment menu »

Attributes:

Name Type Required Description
hash long Yes Hash for pagination, for more info click here
bots Array of AttachMenuBot Yes List of bot mini apps that can be launched from the attachment menu »
users Array of User Yes Info about related users/bots

Type: AttachMenuBots

Example:

$attachMenuBots = ['_' => 'attachMenuBots', 'hash' => long, 'bots' => [AttachMenuBot, AttachMenuBot], 'users' => [User, User]];