ImagePackRoomExtension extension

on

Methods

getImagePacks([ImagePackUsage? usage]) Map<String, ImagePackContent>
Get all the active image packs for the specified usage, mapped by their slug
getImagePacksFlat([ImagePackUsage? usage]) Map<String, Map<String, String>>
Get a flat view of all the image packs of a specified usage, that is a map of all slugs to a map of the image code to their mxc url