StickerBuilder.path constructor

StickerBuilder.path(
  1. String path,
  2. {required String name,
  3. required String description,
  4. required String tags}
)

Open file at path then read it's contents and prepare to send. Name will be automatically extracted from path if no name provided.

Implementation

factory StickerBuilder.path(String path, {required String name, required String description, required String tags}) =>
    StickerBuilder.file(File(path), name: name, description: description, tags: tags);