Workers Auto Approve
I cant get channel messages photo. Memory Fail. Authentication fail.
TLSharp, TLPhoto, channelmessage
Hi I try to download and save channel message's photo via TLSharp. So I do it with this code.
int filePart = 256 * 1024;
int offset = 0;
using (MemoryStream ms = new MemoryStream())
while (offset ().Last().Size)
resFile = await client.GetFile(new TLInputFileLocation()
LocalId = tf.LocalId,
Secret = tf.Secret,
VolumeId = tf.VolumeId
}, filePart, offset);
ms.Write(resFile.Bytes, 0, resFile.Bytes.Length);
offset += filePart;
img = Image.FromStream(ms);
img.Save(Path.Combine(HttpRuntime.AppDomainAppPath, "Content/images/TLimages/" + _messagePreview.MessagePreviewURL), System.Drawing.Imaging.ImageFormat.Jpeg);
It works at lots of channel message's photo. but for one message code failing. I cant understand. It doesnt go catch block. direct go failing an I have to log in again via authentication.
This is failing channel --> [https://t.me/TrinityCommunity](https://t.me/TrinityCommunity)
This is failing channel message --> [https://t.me/TrinityCommunity/72](https://t.me/TrinityCommunity/72)
I can download and save https://t.me/TrinityCommunity/179 with program automaticly.
I can download and save https://t.me/TrinityCommunity/178 with program automaticly.
I can download and save https://t.me/TrinityCommunity/73 with program automaticly.
But I cant download and save https://t.me/TrinityCommunity/72. I run it try and catch block but program doesnt go catch block. Memory fail. waiting but doesnt answer. I restart program but authentication fails everytime.
This is image of Visual Studio Developer's output
so4 chemical symbol
So everything look like very normal but I cant save this photo. Can u help?
Setup your profile
Tell us a little about you:
No results found for
Type to search skills..
Required [[totalcharacter]] / 240
Are you currently looking for work?
[[ option.string ]]
Setup your profile
Our tools are based on the principles of earn (💰), learn (📖), and meet (💬).
Select the ones you are interested in. You can change it later in your settings.
I'm also an organization manager looking for a great community.
Enable your organization profile
Gitcoin products can help grow community around your brand. Create your tribe, events, and incentivize your community with bounties. Announce new and upcoming events using townsquare. Find top-quality hackers and fund them to work with you on a grant.
These are the organizations you own. If you don't see your organization here please be sure that information is public on your GitHub profile. Gitcoin will sync this information for you.
Select the products you are interested in:
Out of the box you will receive Tribes Lite for your organization. Please provide us with a contact email: