Rename EventType to UpdateEventType for clarity

This commit is contained in:
netkas 2024-11-01 18:11:11 -04:00
parent b8b1a87639
commit 73d14179b1
9 changed files with 31 additions and 31 deletions

View file

@ -4,14 +4,14 @@
use TgBotLib\Abstracts\UpdateEvent;
use TgBotLib\Bot;
use TgBotLib\Enums\EventType;
use TgBotLib\Enums\UpdateEventType;
use TgBotLib\Objects\ChatJoinRequest;
abstract class ChatJoinRequestEvent extends UpdateEvent
{
public static function getEventType(): EventType
public static function getEventType(): UpdateEventType
{
return EventType::CHAT_JOIN_REQUEST_EVENT;
return UpdateEventType::CHAT_JOIN_REQUEST_EVENT;
}
/**