Authorized Bot users may set the allowed media types by selecting a channel in the Bot UI, then selecting Set Allowed Media from the channel actions menu.

Security
Setting allowed media requires that the Bot user has the ‘Advanced Moderation’ authority.