Link Search Menu Expand Document

Constructor: attachMenuBots

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
hashlongYesHash for pagination, for more info click here
botsArray of AttachMenuBotYesList of bot mini apps that can be launched from the attachment menu »
usersArray of UserYesInfo about related users/bots

Type: AttachMenuBots

Example:

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