Skip to content

Commit e78e09e

Browse files
committed
feat(schema): update documentation to the latest layer
1 parent d371760 commit e78e09e

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

_schema/158.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15274,12 +15274,14 @@
1527415274
"messageEntityTextUrl": {
1527515275
"name": "messageEntityTextUrl",
1527615276
"description": [
15277-
"Message entity representing a text url¹: for in-text urls like https://google.com² use messageEntityUrl³."
15277+
"Message entity representing a text url¹: for in-text urls like https://google.com² use messageEntityUrl³.",
15278+
"Note that an additional confirmation popup with the full URL must be displayed to the user before opening this link, unless the domain is one of the whitelisted domains specified in the whitelisted_domains client configuration parameter »¹."
1527815279
],
1527915280
"links": [
1528015281
"https://google.com",
1528115282
"https://google.com",
15282-
"https://core.telegram.org/constructor/messageEntityUrl"
15283+
"https://core.telegram.org/constructor/messageEntityUrl",
15284+
"https://core.telegram.org/api/config#whitelisted-domains"
1528315285
],
1528415286
"fields": {
1528515287
"length": {
@@ -36038,7 +36040,7 @@
3603836040
"channels.updateUsername": {
3603936041
"name": "channels.updateUsername",
3604036042
"description": [
36041-
"Change the username of a supergroup/channel"
36043+
"Change or remove the username of a supergroup/channel"
3604236044
],
3604336045
"parameters": {
3604436046
"channel": {
@@ -36047,7 +36049,7 @@
3604736049
},
3604836050
"username": {
3604936051
"name": "username",
36050-
"description": "New username"
36052+
"description": "New username, pass an empty string to remove the username"
3605136053
}
3605236054
},
3605336055
"errors": [
@@ -45407,7 +45409,7 @@
4540745409
},
4540845410
"wallpaper": {
4540945411
"name": "wallpaper",
45410-
"description": "The wallpaper »¹, obtained as described in the wallpaper documentation »² or from a messageActionSetChatWallPaper³ service message.",
45412+
"description": "The wallpaper »¹, obtained as described in the wallpaper documentation »²; must not be provided when installing a wallpaper obtained from a messageActionSetChatWallPaper³ service message (id must be provided, instead).",
4541145413
"links": [
4541245414
"https://core.telegram.org/api/wallpapers",
4541345415
"https://core.telegram.org/api/wallpapers#uploading-wallpapers",

_schema/latest.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15274,12 +15274,14 @@
1527415274
"messageEntityTextUrl": {
1527515275
"name": "messageEntityTextUrl",
1527615276
"description": [
15277-
"Message entity representing a text url¹: for in-text urls like https://google.com² use messageEntityUrl³."
15277+
"Message entity representing a text url¹: for in-text urls like https://google.com² use messageEntityUrl³.",
15278+
"Note that an additional confirmation popup with the full URL must be displayed to the user before opening this link, unless the domain is one of the whitelisted domains specified in the whitelisted_domains client configuration parameter »¹."
1527815279
],
1527915280
"links": [
1528015281
"https://google.com",
1528115282
"https://google.com",
15282-
"https://core.telegram.org/constructor/messageEntityUrl"
15283+
"https://core.telegram.org/constructor/messageEntityUrl",
15284+
"https://core.telegram.org/api/config#whitelisted-domains"
1528315285
],
1528415286
"fields": {
1528515287
"length": {
@@ -36038,7 +36040,7 @@
3603836040
"channels.updateUsername": {
3603936041
"name": "channels.updateUsername",
3604036042
"description": [
36041-
"Change the username of a supergroup/channel"
36043+
"Change or remove the username of a supergroup/channel"
3604236044
],
3604336045
"parameters": {
3604436046
"channel": {
@@ -36047,7 +36049,7 @@
3604736049
},
3604836050
"username": {
3604936051
"name": "username",
36050-
"description": "New username"
36052+
"description": "New username, pass an empty string to remove the username"
3605136053
}
3605236054
},
3605336055
"errors": [
@@ -45407,7 +45409,7 @@
4540745409
},
4540845410
"wallpaper": {
4540945411
"name": "wallpaper",
45410-
"description": "The wallpaper »¹, obtained as described in the wallpaper documentation »² or from a messageActionSetChatWallPaper³ service message.",
45412+
"description": "The wallpaper »¹, obtained as described in the wallpaper documentation »²; must not be provided when installing a wallpaper obtained from a messageActionSetChatWallPaper³ service message (id must be provided, instead).",
4541145413
"links": [
4541245414
"https://core.telegram.org/api/wallpapers",
4541345415
"https://core.telegram.org/api/wallpapers#uploading-wallpapers",

0 commit comments

Comments
 (0)