Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Release v1.15.14 #245

Merged
merged 3 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading