find any entity corresponding to "6527838350"
                  
                  
                  
                  
                  
                  chat id is correct what is the problem?
                  
                  
                  and how can I fix it?
                  
                  
                
 :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  can anyone help? chat id is correct
https://t.me/TelethonChat/566100
 :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  It's not, for the error message you showed
 :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  yes im sorry converted to int new error: ValueError: Could not find the input entity for PeerUser(user_id=6527838350) (PeerUser). Please read https://docs.telethon.dev/en/stable/concepts/entities.html to find out more details. 🥲
You don't have access to that user with that .session file, you can't use the id. only use ids you get from inside telethon and within the same session
 :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  how can i do it with raw api telegram?
you don't, if 6527838350 belongs to a user, you can't use the id in requests unless it's cached. for now, they must send you a message or as forwarded from them when your script is active or resolving username, etc...
 :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          :δ 𝕯𝖊𝖑𝖙𝖆∇:
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  we can do it in official telegram desktop android message to anyone but in api we cannot
you can't message to "anyone" in official telegram desktop.
Обсуждают сегодня