Telegram group joining links are not responding (ERR_CONNECTION_TIMED_OUT)

This problem has been happening for quite some time. I tried contacting telegram customer support over this issue but unfortunately haven’t heard back from them since.

Whenever I try to click on any Telegram group joining hyperlink, it just keeps on buffering and shows a “took too long to respond” kind of error. This is not something that was happening earlier. I then have to somehow transfer this link to join from my mobile device. That is the only solution that I’m aware of for this issue.

Does anyone know why this is happening? I’d certainly love to know about a more permanent solution rather than the rather sloppy mobile workaround that I use currently. Anything that would aid me in opening the links in Laptop/Desktop devices itself, would be a huge plus.
(An associated screenshot is also attached)

enter image description here

iphone – Constantly I appear online on telegram when I was actually not , this is happening from a very long time . Kindly help

iphone – Constantly I appear online on telegram when I was actually not , this is happening from a very long time . Kindly help – Ask Different

Free Vip Binance Futures Bybit Coinswitch Wazirx Bot & Signals On Telegram

Binance Futures BOT – https://t.me/binancefuturesignal

Free Bitcoin Signals App –

https://play.google.com/store/apps/details?…eBitcoinSignals

FREE Binance Futures, Bybit, WazirX, Coinswitch, CoinDCX signals Provider on Telegram in 2021. We provide 7days free signals for every trader. We hold an accuracy of more than 85% which allows us to have a very little drawdown and maximum profits. All results are verified in above given telegram group.

We also provide Binance Futures, WazirX, Coinswitch, CoinDCX, Bybit Auto trading Bot – You don’t need to spend hours in front of the charts and news channel everyday. We do that for you while you can spend that time elsewhere. You can have our service and make money while you are on a job or spending time with your family. The Bot follows the Binance Future Auto Signals and trades as per take profit and stop loss automatically. The Bot also has a special feature of making spontaneous trades, these are the trades which are made by the Bot according to the Trend of the market.

#28% Profit On Zrx/usdt – Binance Futures Bybit Coinswitch Bot & Signals On Telegram

Free Bitcoin Signals Mobile App –

https://play.google.com/store/apps/details?…eBitcoinSignals

Binance Futures Signals – https://binancefuturessignals.com/

Largest Binance Futures, Bybit, Binance, WazirX, CoinDCX, Coinswitch, Kraken, Huobi Signals Group on Telegram in 2021. We provide daily 4 to 5 high quality Signals on telegram around 80-90% accuracy. Our Signals and Trading Strategies has been the best and appreciated by tons of Traders.

We too provide Binance Futures, Bybit, WazirX, Coinswitch Bot – You don’t need to spend hours in front of the charts and news channel everyday. We do that for you while you can spend that time elsewhere. You can have our service and make money while you are on a job or spending time with your family. The Bot also has a special feature of making spontaneous trades, these are the trades which are made by the Bot according to the Trend of the market. We execute trades in our live master accounts using our capital. Then through cutting edge technology, our Binance Futures Bot copies the trade on your account – It is all automatic without any manual intervention

vb.net – Building an array of KeyboardButton objects in a ReplyKeyBoardMarkup for a Telegram Bot

I asked my original question and based on the answers got a version working. Essentially, I created a reply keyboard from the available product codes in my database table, with one button per row.
What I want to know now is how to have more than one button per row. I would ideally like to have two or three buttons per row.
My real problem is I cannot get my head around the Lists syntax, so I’d like some advice please.

Here is a working piece of the code:

Select case lcase(Cmd)
' Various other case statements not shown

 Case "products", "product", "items"
                    'New KeyboardButton()() {New KeyboardButton() {New KeyboardButton("/pd 001"), New KeyboardButton("/pd 002")}, New KeyboardButton() {New KeyboardButton("/pd 003"), New KeyboardButton("/pd 004")}}
                    Dim keyboardButtons As New List(Of KeyboardButton())

                    Bot.SendChatAction(message.Chat.Id, "typing")
                    MsgText = "Our available __Products__" & vbCrLf
                    mySQL = "select * from products;"
                    Dim cs As String = "URI=file:" & DBName
                    Using con As New SQLiteConnection(cs)
                        con.Open()
                        Dim dr As SQLiteDataReader

                        Using DBcmd As New SQLiteCommand(con)
                            DBcmd.CommandText = mySQL
                            dr = DBcmd.ExecuteReader()
                            While dr.Read()
                                MsgText &= String.Format("*{0}* ({1})({3}), Price: ${2}", dr("Code"), Replace(dr("ProdName"), "-", " "), dr("Price"), dr("ProdURL")) & vbCrLf
                                
                                keyboardButtons.Add({New KeyboardButton($"/pd {dr("Code")}")}) ' This is the line of interest
                            End While
                        End Using
                        con.Close()
                    End Using
                    MsgText &= vbCrLf & "Type '/pd *code*' to view a specific product *Note* Don't forget the *space* between /pd and the code" & vbCrLf

                    MsgText &= "Please visit (our website)(" & ConfigWebsite & ") for more information"

                    Dim keyboard As New ReplyKeyboardMarkup With {.Keyboard = keyboardButtons.ToArray()}
                    keyboard.OneTimeKeyboard = True
                    keyboard.ResizeKeyboard = True
                    Bot.SendMessage(message.Chat.Id, MsgText, "MarkdownV2",,, replyMarkup:=keyboard)

Case Else

' etc
End Select

Update:
Here is a piece of code which adds a complete keyboard in one foul sweep:

Dim keyboard = New ReplyKeyboardMarkup With {
        .Keyboard = New KeyboardButton()() {New KeyboardButton() {New KeyboardButton("/pd 001"), New KeyboardButton("/pd 002")}, New KeyboardButton() {New KeyboardButton("/pd 003")}},
        .ResizeKeyboard = True
    }

Two buttons in the first row and one in the second.

☑️NEW – Telegram BCH Bot | Proxies-free

Earnings Disclaimer:  All the posts published herein are merely based on individual views, and they do not expressly or by implications represent those of Proxies-free or its owner. It is hereby made clear that Proxies-free does not endorse, support, adopt or vouch any views, programs and/or business opportunities posted herein. Proxies-free also does not give and/or offer any investment advice to any members and/or it’s readers. All members and readers are advised to independently consult their own consultants, lawyers and/or families before making any investment and/or business decisions. This forum is merely a place for general discussions. It is hereby agreed by all members and/or readers that Proxies-free is in no way responsible and/or liable for any damages and/or losses suffered by anyone of you.

memory management – Python script which sends telegram message if Raspberry Pi’s temperature crosses 60 C

I need to know if there is any way I can optimize my code so that it does not use 0.6% of my total memory – which is approx. 22.4MB. This is a really small script that runs for as long as the raspberry pi is ON. 22.4MB for this basic, simple, light code is too much. If less or no optimization is there, then please let me know how is 22.4MB justified.

I am pasting the htop screenshot and my full script.htop

from gpiozero import CPUTemperature
from time import sleep, time
from requests import post

class TemperatureBot:
    
    def __init__(self):
        self.lastAlertSent = -1
        self.chatId = "123"
        self.botToken= "123"
        self.temperatureThreshold = 60
        self.alertInterval = 300
        alertResp = self.sendAlertToUser(f"Initializing temperature bot for 123 - " 
                                         f"your pi")
        if alertResp is not True:
            print("Could not initialize bot for 123. Try later.")
            return
        self.temperaturePolling()
        

    def sendAlertToUser(self, alertMsg):
        try:
            url=f"https://api.telegram.org/bot{self.botToken}"
                f"/sendMessage?chat_id={self.chatId}&text={alertMsg}"
            r = post(url,timeout=20)
            if(r.status_code >=400):
                print("Error sending alert. Here's the response: ", r.text)
                return False
            return True
        except Exception as e:
            raise e
            

    def temperaturePolling(self):
        try:
            while(True):
                currentTemp = CPUTemperature().temperature
                if(currentTemp > self.temperatureThreshold):
                    if(time() - self.lastAlertSent > self.alertInterval):
                        alertResp = self.sendAlertToUser(f"Temperature Danger: "
                                             f"{currentTemp}°C. "
                                             f"Please cool your Stan "
                                             f"or it will burn!!")
                        if alertResp == True:
                            self.lastAlertSent = time()
                        else:
                            print("Could not send alert message.")
                            continue
                            
                sleep(30)
        except KeyboardInterrupt:
            pass

if __name__ == "__main__":
    TemperatureBot()



Apologies if I have missed something, this is my first ever post on stackexchange.

Free Binance Futures Bybit Wazirx Coindcx Coinswitch Auto Bot & Signals On Telegram

Binance Futures Signals – https://binancefuturessignals.com/

Binance Futures, Bybit, WazirX, CoinDCX, Coinswitch Signals provider on Telegram in 2021. We are the Most Consistent & Transparent Signal Service in the Market. Trade the Market With Accurate Signals in Real-time. We also provide high quality signals for Binance, Binance.us, OKEX. Get started now as it is completely FREE

We also provide Binance Futures, Bybit, WazirX, Coinswitch Bot – You don’t need to spend hours in front of the charts and news channel everyday. We do that for you while you can spend that time elsewhere. You can have our service and make money while you are on a job or spending time with your family. The Bot also has a special feature of making spontaneous trades, these are the trades which are made by the Bot according to the Trend of the market. We execute trades in our live master accounts using our capital. Then through cutting edge technology, our Binance Futures Bot copies the trade on your account – It is all automatic without any manual intervention

Best Binance Future Bybit Coindcx Coinswitch Signals Provider On Telegram

Binance Future Signals – https://binancefuturessignals.com/

FREE automated Bots for Binance future, CoinDCX, WazirX, Coinswitch, HitBTC, BitFinex, Huobi, Bitmex, Upbit, Okex exchange and thus are the best in this business

The Bot follows the Auto Signals and trades as per take profit and stop loss automatically. The Bot also has a special feature of making spontaneous trades, these are the trades which are made by the Bot according to the Trend of the market.

We too provide good quality signals for Binance future, CoinDCX, WazirX, Coinswitch, HitBTC, BitFinex, Huobi, Bitmex, Upbit & Okex. These signals are provided by our Experts who are in Crypto Industry for more than 5 years. The signals are given with proper take profit and proper stop loss including leverage.

DreamProxies - Cheapest USA Elite Private Proxies 100 Cheapest USA Private Proxies Buy 200 Cheap USA Private Proxies 400 Best Private Proxies Cheap 1000 USA Private Proxies 2000 USA Private Proxies 5000 Cheap USA Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Proxyti.com Buy Quality Private Proxies