SetProfilePhoto got error.
chenyu1990 opened this issue · 1 comments
chenyu1990 commented
ok, err := tl.Client.SetProfilePhoto(&client.SetProfilePhotoRequest{ Photo: &client.InputChatPhotoStatic{ Photo: &client.InputFileRemote{Id: telegramUser.PhotoRemoteId}, }, IsPublic: true, })
got error:
400 Can't use file of type ChatPhoto as Photo
zelenin commented
check the tdlib version. It must match the tdlib version from the README