Made ChatAction an Enum

This commit is contained in:
JosXa 2018-04-30 16:11:50 +02:00
parent 72e95fd322
commit e2d80a6087

View File

@ -38,9 +38,9 @@ from signal import signal, SIGINT, SIGTERM, SIGABRT
from threading import Event, Thread
import pyrogram
from pyrogram import ChatAction
from pyrogram.api import functions, types
from pyrogram.api.core import Object
from pyrogram.client import ChatAction
from pyrogram.api.errors import (
PhoneMigrate, NetworkMigrate, PhoneNumberInvalid,
PhoneNumberUnoccupied, PhoneCodeInvalid, PhoneCodeHashEmpty,