contacts.AcceptContact
- class pyrogram.raw.functions.contacts.AcceptContact
If the add contact action bar is active, add that user as contact
- Details:
Layer:
223ID:
F831A20F
TL Schema
contacts.acceptContact#f831a20f
id:InputUser
= Updates
Parameter Tree
AcceptContact
└── id →
InputUser├──
InputUserEmpty├──
InputUserSelf├──
InputUser│ ├── user_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── user_id →
longExample
await app.invoke(
AcceptContact(
id=await app.resolve_user(chat_id),
)
)