- canApplyBoost(client: ITelegramClient): Promise<CanApplyBoostResult>
{ can: true } if the user can apply boost
.replace - Chats that can be replaced with the current one.
If the user can apply boost without replacing any chats, this field will be undefined.
{ can: false } if the user can't apply boost
.reason == "no_slots" if the user has no available slots
.reason == "need_premium" if the user needs Premium to boost
- In all cases,
slots will contain all the current user's boost slots
Check if the current user can apply boost to some channel