View Source StickerClient.Mapper (stickerclient v0.1.0)

StickerClient.Mapper is a utility module for converting Protobuf Structs to StickerClient defined Structs.

Link to this section Summary

Functions

Convert a Protobuf defined Pack and list of Stickers to a StickerClient.Pack.

Convert a Protobuf defined sticker Struct to a StickerClient.Sticker without data.

Convert a Protobuf defined sticker Struct to a StickerClient.Sticker with data.

Link to this section Functions

Link to this function

map_pack(pack, stickers)

View Source

Convert a Protobuf defined Pack and list of Stickers to a StickerClient.Pack.

Convert a Protobuf defined sticker Struct to a StickerClient.Sticker without data.

Link to this function

map_sticker(sticker, data)

View Source

Convert a Protobuf defined sticker Struct to a StickerClient.Sticker with data.