fix(llc): use channel partial update for slowmode

This commit is contained in:
Salvatore Giordano
2021-07-30 11:48:23 +02:00
parent 28695fb9d8
commit b989fbc3ad
3 changed files with 16 additions and 16 deletions
@@ -834,7 +834,7 @@ class Channel {
}
/// Enable slow mode
Future<UpdateChannelResponse> enableSlowMode({
Future<PartialUpdateChannelResponse> enableSlowMode({
required int cooldownInterval,
}) async {
_checkInitialized();
@@ -842,7 +842,7 @@ class Channel {
}
/// Disable slow mode
Future<UpdateChannelResponse> disableSlowMode() async {
Future<PartialUpdateChannelResponse> disableSlowMode() async {
_checkInitialized();
return _client.disableSlowdown(id!, type);
}