How to send InputPeer
sergeysova opened this issue · comments
Sova commented
https://core.telegram.org/method/messages.deleteHistory
I try:
await client.fetch({
'@type': 'deleteHistory',
peer: -123123123,
offset: 0,
})
But get:
[ 1][t 0][1521294648.291917086][ClientJson.cpp:78][&status.is_error()] Failed to parse [request:{\042@type\042:\04
2deleteHistory\042,\042peer\042:-123123123,\042offset\042:0,\042@extra\042:\0421ad27c05-2ea5-428b-879f-4c1b4819
18de\042}] [Error : 0 : Unknown class]
seiya-git commented
nodegin commented
Please checkout tdlib API documentation here: