You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2021. It is now read-only.
While trying to get a channel photo I got an exception AUTH_KEY_UNREGISTERED
from then on all my requests get AUTH_KEY_UNREGISTERED
I tried filePartSize = 1024\1024*32
var photo = ((TLChatPhoto)telegramChannel.Photo);
var photoLocation = (TLFileLocation)photo.PhotoSmall;
TLInputFileLocation inputFileLocation = new TLInputFileLocation()
{
LocalId = photoLocation.LocalId,
Secret = photoLocation.Secret,
VolumeId = photoLocation.VolumeId
};
using (Task<TLFile> uploadFileTask = _connector.Client.GetFile(inputFileLocation, 1024 * 32))
{
uploadFileTask.Wait(_connector.TimeoutMilliseconds);
}