КА
Size: a a a
КА
КА
reply.sender
User(id=1159728933, is_self=False, contact=False, mutual_contact=False, deleted=True, bot=False, bot_chat_history=False, bot_nochats=False, verified=False, restricted=False, min=False, bot_inline_geo=False, support=False, scam=False, access_hash=7586101247893115978, first_name=None, last_name=None, username=None, phone=None, photo=None, status=None, bot_info_version=None, restriction_reason=[], bot_inline_placeholder=None, lang_code=None)
КА
MV
s
༼[
F🍭
F🍭
F🍭
s
s
F🍭
F🍭
s
s
СГ
⟁ᴡ
events.UserUpdate
?class UserUpdate(EventBuilder):
Occurs whenever a user goes online, starts typing, etc.
⟁ᴡ
@bot.on(events.UserUpdate)
async def handle_docs_photo(event):
if event.uploading and isinstance(event.action, (types.SendMessageUploadPhotoAction)):
await bot.send_message(event.user_id, 'Why are you sending me this photo?')
СГ