Telegram登录
curl --request GET \
--url https://api.lmm.best/api/oauth/telegram/loginimport requests
url = "https://api.lmm.best/api/oauth/telegram/login"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.lmm.best/api/oauth/telegram/login', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/oauth/telegram/login"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": false,
"code": "AUTH_SESSION_LIMIT",
"message": "<string>"
}{
"success": false,
"code": "AUTH_SESSION_LIMIT",
"message": "<string>"
}OAuth
Telegram登录
🔓 无需鉴权(OAuth 回调)。创建本地登录 Session 时同样受 AUTH_SESSION_LIMIT 和 AUTH_SESSION_ISSUANCE_LIMIT 约束。
GET
/
api
/
oauth
/
telegram
/
login
Telegram登录
curl --request GET \
--url https://api.lmm.best/api/oauth/telegram/loginimport requests
url = "https://api.lmm.best/api/oauth/telegram/login"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.lmm.best/api/oauth/telegram/login', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.lmm.best/api/oauth/telegram/login"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"success": false,
"code": "AUTH_SESSION_LIMIT",
"message": "<string>"
}{
"success": false,
"code": "AUTH_SESSION_LIMIT",
"message": "<string>"
}响应
成功
最后修改于 2026年9月23日
⌘I