getEffectiveChatId method
Gets the effective chat ID in the correct ID format.
Example:
final chatId = ctx.getEffectiveChatId();
if (chatId != null) {
// Use chatId for API calls
}
Implementation
ID? getEffectiveChatId() {
return _getChatId();
}