View Source ExTDLib.Object.BotWriteAccessAllowReasonAddedToAttachmentMenu (ExTDLib v0.0.4)

The user added the bot to attachment or side menu using toggleBotIsAddedToAttachmentMenu.

More details on telegram's documentation.