Non
Non
Try the `force_document` keyword for `send_file` https://docs.telethon.dev/en/stable/modules/client.html#telethon.client.uploads.UploadMethods.send_file Telegram voices is not an `MP3` files, it's `OGG`. Obviously `audio.mp3` will be not voice.
Hi @Lonami. Sorry, i really forgot to include it xD Here's full:  With some quick test i discovered that this error related to the IDs with removed `-100` prefixes...
> That's the first time I'm seeing the above error. What does it show when you do the following?: > > ```python > print(await client.get_input_entity(channel_id)) > ``` `print(await client.get_input_entity(1610806777))` ->...
> For some reason, you seem to have the same ID in the cache with and without the mark. What does it show if you `print(self.session._entities)`? `{(-1001610806777, 2328109287557450445, None, None,...
> When i made a little investigations further i found out that [id_entity in get_entity](https://github.com/LonamiWebs/Telethon/blob/c4a41adae591154915804eaf23b53c0e6599b941/telethon/client/users.py#L318-L321) store ID with mark, like this: {-1001610806777: } Ok, now it seems that it's not...
> Nevermind, the above isn't gonna work. Ok. So to receive channel we should specify ID with `-100` prefix?
> The second commit linked should fix the issue. Missed your commit :o *** I tested it and it seems that this commit doesn't change anything. Try this code: ```python3...
> Getting `Channel` via ID without mark (`1005640892`) will work only if we firstly call get_entity(`-1001005640892`) The below additional to the `get_input_entity` ([code](https://github.com/LonamiWebs/Telethon/blob/980f8b32fc16ff1ec6708b93fd1f923b8c684c3d/telethon/client/users.py#L436-L452)) will fix this ```python3 ... # If...
> That doesn't seem to be the case. In https://github.com/LonamiWebs/Telethon/issues/4084#issuecomment-1535304234 you showed that print(self.session._entities) gave (-1001610806777, 2328109287557450445, ..., so with the -100 mark. Just to clarify (i don't think this...
See this https://github.com/LonamiWebs/Telethon/issues/3199 Requirements are _slightly_ different for `offset` than ones that stated. You will need to use something like my example function from this Issue (`pad_request_size`) and then truncate...