Skip to main content

messages.getAttachMenuBots

Returns installed attachment menu bot mini apps »

func (c *Client) MessagesGetAttachMenuBots(ctx context.Context, hash int64) (AttachMenuBotsClass, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.MessagesGetAttachMenuBots(ctx, hash)
if err != nil {
return err
}
_ = res // AttachMenuBotsClass
return nil
})

Parameters

NameTypeRequiredDescription
Hashint64yesHash used for caching, for more info click here.

Returns

AttachMenuBotsClass

References