English
Open in Telegram

Thread You can opt-in early by setting PTB_TIMEDELTA=true or PTB_TIMEDELTA=1 as an environment variable

10 messages · –
N
You can opt-in early by setting PTB_TIMEDELTA=true or PTB_TIMEDELTA=1 as an environment variable what does otp-in means? so later version audioobj.duration will not give me int value 😭😭😭 Now i am using the integer value to custom minute and second of the audio, how then i will do in future 😢, why PTB is forcing to remove the int?
  1. P
    Because timedelta is more native. What do you mean with custom minute and second?
    1. N
      see i have this, which format the i t to what to shows to user,as later int will remove so what will the way to design this type of sting from the timedelta?
            1. T
              So ur saying there’s no special handling needed here and the low level request layer already takes care of response deserialization and API errors?
              1. N
                That message was a reply to something else entirely
  2. E
    You can just call total_seconds() and your previous code will work as is without any change.
>>>> telegram.Bot()>>> telegram.Bot()@pythontelegrambotgroup · group · Tech
9 911members60writing in 30 days
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count