|
151 | 151 | }, |
152 | 152 | "has_main_web_app": { |
153 | 153 | "type": "boolean" |
| 154 | + }, |
| 155 | + "has_topics_enabled": { |
| 156 | + "type": "boolean" |
154 | 157 | } |
155 | 158 | }, |
156 | 159 | "Chat": { |
|
343 | 346 | }, |
344 | 347 | "location": { |
345 | 348 | "type": "ChatLocation" |
| 349 | + }, |
| 350 | + "rating": { |
| 351 | + "type": "UserRating" |
| 352 | + }, |
| 353 | + "unique_gift_colors": { |
| 354 | + "type": "UniqueGiftColors" |
| 355 | + }, |
| 356 | + "paid_message_star_count": { |
| 357 | + "type": "integer" |
346 | 358 | } |
347 | 359 | }, |
348 | 360 | "Message": { |
|
578 | 590 | "unique_gift": { |
579 | 591 | "type": "UniqueGiftInfo" |
580 | 592 | }, |
| 593 | + "gift_upgrade_sent": { |
| 594 | + "type": "GiftInfo" |
| 595 | + }, |
581 | 596 | "connected_website": { |
582 | 597 | "type": "string" |
583 | 598 | }, |
|
1351 | 1366 | "completed_by_user": { |
1352 | 1367 | "type": "User" |
1353 | 1368 | }, |
| 1369 | + "completed_by_chat": { |
| 1370 | + "type": "Chat" |
| 1371 | + }, |
1354 | 1372 | "completion_date": { |
1355 | 1373 | "type": "integer" |
1356 | 1374 | } |
|
1687 | 1705 | }, |
1688 | 1706 | "icon_custom_emoji_id": { |
1689 | 1707 | "type": "string" |
| 1708 | + }, |
| 1709 | + "is_name_implicit": { |
| 1710 | + "type": "boolean", |
| 1711 | + "default": true |
1690 | 1712 | } |
1691 | 1713 | }, |
1692 | | - "ForumTopicClosed": {}, |
| 1714 | + "ForumTopicClosed": { |
| 1715 | + }, |
1693 | 1716 | "ForumTopicEdited": { |
1694 | 1717 | "name": { |
1695 | 1718 | "type": "string" |
|
1698 | 1721 | "type": "string" |
1699 | 1722 | } |
1700 | 1723 | }, |
1701 | | - "ForumTopicReopened": {}, |
1702 | | - "GeneralForumTopicHidden": {}, |
1703 | | - "GeneralForumTopicUnhidden": {}, |
| 1724 | + "ForumTopicReopened": { |
| 1725 | + }, |
| 1726 | + "GeneralForumTopicHidden": { |
| 1727 | + }, |
| 1728 | + "GeneralForumTopicUnhidden": { |
| 1729 | + }, |
1704 | 1730 | "SharedUser": { |
1705 | 1731 | "user_id": { |
1706 | 1732 | "type": "integer", |
|
1768 | 1794 | "required": true |
1769 | 1795 | } |
1770 | 1796 | }, |
1771 | | - "VideoChatStarted": {}, |
| 1797 | + "VideoChatStarted": { |
| 1798 | + }, |
1772 | 1799 | "VideoChatEnded": { |
1773 | 1800 | "duration": { |
1774 | 1801 | "type": "integer", |
|
2804 | 2831 | "required": true |
2805 | 2832 | } |
2806 | 2833 | }, |
| 2834 | + "UserRating": { |
| 2835 | + "level": { |
| 2836 | + "type": "integer", |
| 2837 | + "required": true |
| 2838 | + }, |
| 2839 | + "rating": { |
| 2840 | + "type": "integer", |
| 2841 | + "required": true |
| 2842 | + }, |
| 2843 | + "current_level_rating": { |
| 2844 | + "type": "integer", |
| 2845 | + "required": true |
| 2846 | + }, |
| 2847 | + "next_level_rating": { |
| 2848 | + "type": "integer" |
| 2849 | + } |
| 2850 | + }, |
2807 | 2851 | "StoryAreaPosition": { |
2808 | 2852 | "x_percentage": { |
2809 | 2853 | "type": "number", |
|
3070 | 3114 | }, |
3071 | 3115 | "icon_custom_emoji_id": { |
3072 | 3116 | "type": "string" |
| 3117 | + }, |
| 3118 | + "is_name_implicit": { |
| 3119 | + "type": "boolean", |
| 3120 | + "default": true |
| 3121 | + } |
| 3122 | + }, |
| 3123 | + "GiftBackground": { |
| 3124 | + "center_color": { |
| 3125 | + "type": "integer", |
| 3126 | + "required": true |
| 3127 | + }, |
| 3128 | + "edge_color": { |
| 3129 | + "type": "integer", |
| 3130 | + "required": true |
| 3131 | + }, |
| 3132 | + "text_color": { |
| 3133 | + "type": "integer", |
| 3134 | + "required": true |
3073 | 3135 | } |
3074 | 3136 | }, |
3075 | 3137 | "Gift": { |
|
3088 | 3150 | "upgrade_star_count": { |
3089 | 3151 | "type": "integer" |
3090 | 3152 | }, |
| 3153 | + "is_premium": { |
| 3154 | + "type": "boolean", |
| 3155 | + "default": true |
| 3156 | + }, |
| 3157 | + "has_colors": { |
| 3158 | + "type": "boolean", |
| 3159 | + "default": true |
| 3160 | + }, |
3091 | 3161 | "total_count": { |
3092 | 3162 | "type": "integer" |
3093 | 3163 | }, |
3094 | 3164 | "remaining_count": { |
3095 | 3165 | "type": "integer" |
3096 | 3166 | }, |
| 3167 | + "personal_total_count": { |
| 3168 | + "type": "integer" |
| 3169 | + }, |
| 3170 | + "personal_remaining_count": { |
| 3171 | + "type": "integer" |
| 3172 | + }, |
| 3173 | + "background": { |
| 3174 | + "type": "GiftBackground" |
| 3175 | + }, |
| 3176 | + "unique_gift_variant_count": { |
| 3177 | + "type": "integer" |
| 3178 | + }, |
3097 | 3179 | "publisher_chat": { |
3098 | 3180 | "type": "Chat" |
3099 | 3181 | } |
|
3165 | 3247 | "required": true |
3166 | 3248 | } |
3167 | 3249 | }, |
| 3250 | + "UniqueGiftColors": { |
| 3251 | + "model_custom_emoji_id": { |
| 3252 | + "type": "string", |
| 3253 | + "required": true |
| 3254 | + }, |
| 3255 | + "symbol_custom_emoji_id": { |
| 3256 | + "type": "string", |
| 3257 | + "required": true |
| 3258 | + }, |
| 3259 | + "light_theme_main_color": { |
| 3260 | + "type": "integer", |
| 3261 | + "required": true |
| 3262 | + }, |
| 3263 | + "light_theme_other_colors": { |
| 3264 | + "type": "array", |
| 3265 | + "items": "integer", |
| 3266 | + "required": true |
| 3267 | + }, |
| 3268 | + "dark_theme_main_color": { |
| 3269 | + "type": "integer", |
| 3270 | + "required": true |
| 3271 | + }, |
| 3272 | + "dark_theme_other_colors": { |
| 3273 | + "type": "array", |
| 3274 | + "items": "integer", |
| 3275 | + "required": true |
| 3276 | + } |
| 3277 | + }, |
3168 | 3278 | "UniqueGift": { |
| 3279 | + "gift_id": { |
| 3280 | + "type": "string", |
| 3281 | + "required": true |
| 3282 | + }, |
3169 | 3283 | "base_name": { |
3170 | 3284 | "type": "string", |
3171 | 3285 | "required": true |
|
3190 | 3304 | "type": "UniqueGiftBackdrop", |
3191 | 3305 | "required": true |
3192 | 3306 | }, |
| 3307 | + "is_premium": { |
| 3308 | + "type": "boolean", |
| 3309 | + "default": true |
| 3310 | + }, |
| 3311 | + "is_from_blockchain": { |
| 3312 | + "type": "boolean", |
| 3313 | + "default": true |
| 3314 | + }, |
| 3315 | + "colors": { |
| 3316 | + "type": "UniqueGiftColors" |
| 3317 | + }, |
3193 | 3318 | "publisher_chat": { |
3194 | 3319 | "type": "Chat" |
3195 | 3320 | } |
|
3208 | 3333 | "prepaid_upgrade_star_count": { |
3209 | 3334 | "type": "integer" |
3210 | 3335 | }, |
| 3336 | + "is_upgrade_separate": { |
| 3337 | + "type": "boolean", |
| 3338 | + "default": true |
| 3339 | + }, |
3211 | 3340 | "can_be_upgraded": { |
3212 | 3341 | "type": "boolean", |
3213 | 3342 | "default": true |
|
3222 | 3351 | "is_private": { |
3223 | 3352 | "type": "boolean", |
3224 | 3353 | "default": true |
| 3354 | + }, |
| 3355 | + "unique_gift_number": { |
| 3356 | + "type": "integer" |
3225 | 3357 | } |
3226 | 3358 | }, |
3227 | 3359 | "UniqueGiftInfo": { |
|
3233 | 3365 | "type": "string", |
3234 | 3366 | "required": true |
3235 | 3367 | }, |
3236 | | - "last_resale_star_count": { |
| 3368 | + "last_resale_currency": { |
| 3369 | + "type": "string" |
| 3370 | + }, |
| 3371 | + "last_resale_amount": { |
3237 | 3372 | "type": "integer" |
3238 | 3373 | }, |
3239 | 3374 | "owned_gift_id": { |
|
3301 | 3436 | }, |
3302 | 3437 | "prepaid_upgrade_star_count": { |
3303 | 3438 | "type": "integer" |
| 3439 | + }, |
| 3440 | + "is_upgrade_separate": { |
| 3441 | + "type": "boolean", |
| 3442 | + "default": true |
| 3443 | + }, |
| 3444 | + "unique_gift_number": { |
| 3445 | + "type": "integer" |
3304 | 3446 | } |
3305 | 3447 | }, |
3306 | 3448 | "OwnedGiftUnique": { |
|
3369 | 3511 | "premium_subscription": { |
3370 | 3512 | "type": "boolean", |
3371 | 3513 | "required": true |
| 3514 | + }, |
| 3515 | + "gifts_from_channels": { |
| 3516 | + "type": "boolean", |
| 3517 | + "required": true |
3372 | 3518 | } |
3373 | 3519 | }, |
3374 | 3520 | "StarAmount": { |
|
3948 | 4094 | "type": "boolean" |
3949 | 4095 | } |
3950 | 4096 | }, |
3951 | | - "InputFile": {}, |
| 4097 | + "InputFile": { |
| 4098 | + }, |
3952 | 4099 | "InputPaidMedia": { |
3953 | 4100 | "type": [ |
3954 | 4101 | "InputPaidMediaPhoto", |
|
6031 | 6178 | "type": "Animation" |
6032 | 6179 | } |
6033 | 6180 | }, |
6034 | | - "CallbackGame": {}, |
| 6181 | + "CallbackGame": { |
| 6182 | + }, |
6035 | 6183 | "GameHighScore": { |
6036 | 6184 | "position": { |
6037 | 6185 | "type": "integer", |
|
0 commit comments