Skip to content

Commit

Permalink
🚀 Merge #245: v1.15.14
Browse files Browse the repository at this point in the history
Patch Release
  • Loading branch information
HeySreelal authored Apr 28, 2024
2 parents 015d3f7 + 43ecd78 commit 9068501
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.15.14

- Removed unnecessary print in the callback setter.
- Fixed `BotLink` link generation.

# 1.15.13

- Removed usage of `dart:mirrors`
Expand Down
1 change: 0 additions & 1 deletion lib/src/televerse/bot.dart
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ class Bot {
if (_pendingCalls.isNotEmpty) {
for (final fn in _pendingCalls) {
fn.call();
print('pending call is executed');
}
_pendingCalls.clear();
}
Expand Down
8 changes: 4 additions & 4 deletions lib/src/televerse/links/bot.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ class GroupBotLink extends Deeplink {
} else {
final params = <String>[];
if (parameter != null) params.add('=$_encodedParameter');
if (admin != null) params.add('admin=${admin!.param}');
return '$url${params.join('&')}';
if (admin != null) params.add('&admin=${admin!.param}');
return '$url${params.join('')}';
}
}

Expand All @@ -119,8 +119,8 @@ class GroupBotLink extends Deeplink {
} else {
final params = <String>[];
if (parameter != null) params.add('=$_encodedParameter');
if (admin != null) params.add('admin=${admin!.param}');
return '$url${params.join('&')}';
if (admin != null) params.add('&admin=${admin!.param}');
return '$url${params.join('')}';
}
}

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: televerse
description: Televerse lets you create your own efficient Telegram bots with ease in Dart. Supports latest Telegram Bot API - 7.2!
version: 1.15.13
version: 1.15.14
homepage: https://github.com/HeySreelal/televerse
topics:
- telegram
Expand Down

0 comments on commit 9068501

Please sign in to comment.