Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Rename set -> stickerSet
Browse files Browse the repository at this point in the history
  • Loading branch information
otopba committed Jun 28, 2021
1 parent 006660d commit 7f0bef9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ Configure your `Info.plist` by right-clicking it in Project Navigator, choosing

### Usage

To import a sticker set of a single sticker to Telegram, create a new set and import it like this:
To import a sticker set to Telegram, create a new set and import it like this:
```dart
final set = StickerSet(
final stickerSet = StickerSet(
software: "My app",
isAnimated: true,
stickers: stickers,
);
TelegramStickersImport.import(set);
TelegramStickersImport.import(stickerSet);
```

#### Android
Expand Down
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ class _MyAppState extends State<MyApp> {
),
];

final set = StickerSet(
final stickerSet = StickerSet(
software: "My app",
isAnimated: true,
stickers: stickers,
);

await TelegramStickersImport.import(set);
await TelegramStickersImport.import(stickerSet);
}

Future<void> _copyAssets() async {
Expand Down

0 comments on commit 7f0bef9

Please sign in to comment.