diff --git a/data/server/test/GetConfig.json b/data/server/test/GetConfig.json index 25592bcf73..5274f1fc5d 100644 --- a/data/server/test/GetConfig.json +++ b/data/server/test/GetConfig.json @@ -3,7 +3,7 @@ "date": 0, "expires": 0, "test_mode": true, - "this_dc": 2, + "this_dc": 1, "dc_options": [], "dc_txt_domain_name": "tapv3.stel.com", "chat_size_max": 50, diff --git a/data/server/test/sticker_set/AnimatedEmojies.json b/data/server/test/sticker_set/AnimatedEmojies.json index c2dca0985a..acaf756719 100644 --- a/data/server/test/sticker_set/AnimatedEmojies.json +++ b/data/server/test/sticker_set/AnimatedEmojies.json @@ -61,8 +61,8 @@ "id": 3516169466150913, "access_hash": "crawler", "file_reference": "crawler", - "date": 1376438400, - "mime_type": "application/x-bad-tgsticker", + "date": 1568081239, + "mime_type": "application/x-tgsticker", "size": 57096, "dc_id": 2, "attributes": [ @@ -71,12 +71,35 @@ "w": 512, "h": 512 }, + { + "_": "types.DocumentAttributeSticker", + "alt": "❤️", + "stickerset": { + "_": "types.InputStickerSetID", + "id": 3516169466150913, + "access_hash": "crawler" + }, + "mask": false + }, { "_": "types.DocumentAttributeFilename", - "file_name": "sticker.tgs" + "file_name": "AnimatedSticker.tgs" + } + ], + "thumbs": [ + { + "_": "types.PhotoPathSize", + "type": "j", + "bytes": "b'\\x19\\x05\\xb0\\x01\\xdcgIG\\x02{I\\tH\\tF\\x04G\\x02P\\x06R\\x04K\\x03]\\x00\\x8e]\\xa8s\\x87\\x02{\\xa7J\\x88\\x02\\x83\\x8b\\x02\\x9f\\x83\\x83\\x97\\x9f\\x9b\\x9f\\x83\\x80\\x9fc\\xa3f\\xaba\\x8a\\x05f\\x8e\\x07B\\x8b\\x07\\x8a\\x00]\\x9a\\x07I\\t\\xa2\\x02P\\x92z\\x87\\x03H\\x02\\x87\\x04'" + }, + { + "_": "types.PhotoSize", + "type": "m", + "w": 128, + "h": 128, + "size": 3526 } ], - "thumbs": [], "video_thumbs": [] }, { @@ -84,8 +107,8 @@ "id": 3516169466150914, "access_hash": "crawler", "file_reference": "crawler", - "date": 1376438400, - "mime_type": "application/x-bad-tgsticker", + "date": 1568081473, + "mime_type": "application/x-tgsticker", "size": 5756, "dc_id": 2, "attributes": [ @@ -94,12 +117,35 @@ "w": 512, "h": 512 }, + { + "_": "types.DocumentAttributeSticker", + "alt": "😒", + "stickerset": { + "_": "types.InputStickerSetID", + "id": 3516169466150913, + "access_hash": "crawler" + }, + "mask": false + }, { "_": "types.DocumentAttributeFilename", - "file_name": "sticker.tgs" + "file_name": "AnimatedSticker.tgs" + } + ], + "thumbs": [ + { + "_": "types.PhotoPathSize", + "type": "j", + "bytes": "b'\\x15\\x05\\xab\\x07\\xdcx\\x81J\\x08XN\\x05F\\x05M\\x08O\\x00\\x98h\\x06\\x96\\x00`\\x05\\x93\\x06\\x88\\x01\\x8e\\x04\\xa7\\x02G\\x05\\xa7\\x00'" + }, + { + "_": "types.PhotoSize", + "type": "m", + "w": 128, + "h": 128, + "size": 4100 } ], - "thumbs": [], "video_thumbs": [] }, { @@ -107,8 +153,8 @@ "id": 3516169466150915, "access_hash": "crawler", "file_reference": "crawler", - "date": 1376438400, - "mime_type": "application/x-bad-tgsticker", + "date": 1568081870, + "mime_type": "application/x-tgsticker", "size": 18357, "dc_id": 2, "attributes": [ @@ -117,12 +163,35 @@ "w": 512, "h": 512 }, + { + "_": "types.DocumentAttributeSticker", + "alt": "👍", + "stickerset": { + "_": "types.InputStickerSetID", + "id": 3516169466150913, + "access_hash": "crawler" + }, + "mask": false + }, { "_": "types.DocumentAttributeFilename", - "file_name": "sticker.tgs" + "file_name": "AnimatedSticker.tgs" + } + ], + "thumbs": [ + { + "_": "types.PhotoPathSize", + "type": "j", + "bytes": "b'\"\\t\\xb0\\x03\\xdcnOI\\x04DN\\x00RMD\\\\QgSVDh\\x8d}\\x84yXxM\\x03YQ\\x06\\x91W\\xa7K\\xbeT\\x84B\\x8bE\\x8eI\\x8aL\\x91Z\\x9be\\x8eQ\\xadb\\xb4x\\x89YNK\\x02\\xacH\\x08\\x87\\x06\\x9f\\x88\\x8d\\t\\x93\\x8f\\x08\\x8e\\x99\\x8c\\x05P\\x8e\\x06\\xaf\\x83\\x88\\x83\\x93\\x82\\x9c\\x80\\x83G\\x8fG\\x90\\x85\\x91\\x91\\x99\\x8a\\xaeB\\x85P\\x90P\\x93\\x81\\xa9\\x8a\\x99T\\xb7B\\x83D\\x98H\\x9eM\\x92h\\x93|\\x94'" + }, + { + "_": "types.PhotoSize", + "type": "m", + "w": 128, + "h": 128, + "size": 3228 } ], - "thumbs": [], "video_thumbs": [] }, { @@ -130,8 +199,8 @@ "id": 3516169466150916, "access_hash": "crawler", "file_reference": "crawler", - "date": 1376438400, - "mime_type": "application/x-bad-tgsticker", + "date": 1568081964, + "mime_type": "application/x-tgsticker", "size": 8887, "dc_id": 2, "attributes": [ @@ -140,12 +209,35 @@ "w": 512, "h": 512 }, + { + "_": "types.DocumentAttributeSticker", + "alt": "😳", + "stickerset": { + "_": "types.InputStickerSetID", + "id": 3516169466150913, + "access_hash": "crawler" + }, + "mask": false + }, { "_": "types.DocumentAttributeFilename", - "file_name": "sticker.tgs" + "file_name": "AnimatedSticker.tgs" + } + ], + "thumbs": [ + { + "_": "types.PhotoPathSize", + "type": "j", + "bytes": "b'\\x16\\x00\\xae\\t\\xdcvBJ\\x03WN\\x00~N\\x01N\\t\\x95i\\x05\\x95\\x07a\\x00\\x93\\x06\\x88\\x06\\x8e\\x02\\xa6\\x02G\\x07\\xa7\\x02'" + }, + { + "_": "types.PhotoSize", + "type": "m", + "w": 128, + "h": 128, + "size": 5226 } ], - "thumbs": [], "video_thumbs": [] }, { @@ -153,8 +245,8 @@ "id": 3516169466150917, "access_hash": "crawler", "file_reference": "crawler", - "date": 1376438400, - "mime_type": "application/x-bad-tgsticker", + "date": 1568082078, + "mime_type": "application/x-tgsticker", "size": 22409, "dc_id": 2, "attributes": [ @@ -163,12 +255,35 @@ "w": 512, "h": 512 }, + { + "_": "types.DocumentAttributeSticker", + "alt": "🥳", + "stickerset": { + "_": "types.InputStickerSetID", + "id": 3516169466150913, + "access_hash": "crawler" + }, + "mask": false + }, { "_": "types.DocumentAttributeFilename", - "file_name": "sticker.tgs" + "file_name": "AnimatedSticker.tgs" + } + ], + "thumbs": [ + { + "_": "types.PhotoPathSize", + "type": "j", + "bytes": "b'\\x17\\x01\\xb1\\x00\\xdcyAJ\\x06ZN\\x05F\\x07eguI\\x07qN\\t\\x82T\\x93z\\x92G\\x02AUiL\\x03cM\\x03\\x89P\\x8b\\x00\\xa1\\x8d\\x02\\xa2\\x8a\\x81\\xafP\\x86\\x05Q\\xaeC\\x89\\x04\\x89\\x8d\\x02\\xa6\\xae\\xa3\\x87\\x00\\x88\\x05\\x87\\x08\\x8e\\x03\\x82\\x8eB\\xa0\\x81\\xad\\x83\\x8b\\x9a\\x8e\\x91\\xa9H\\x98W\\x90c\\x99J\\x88[\\xabh\\xb8f\\xa5H\\x07\\xb6M\\t\\xb8'" + }, + { + "_": "types.PhotoSize", + "type": "m", + "w": 128, + "h": 128, + "size": 4898 } ], - "thumbs": [], "video_thumbs": [] } ]