|
@@ -112,12 +112,12 @@ |
|
|
block discarded – undo |
|
112
|
112
|
|
|
113
|
113
|
$result_object_types = [ |
|
114
|
114
|
'total_count' => 'UserProfilePhotos', //Response from getUserProfilePhotos |
|
115
|
|
- 'stickers' => 'StickerSet', //Response from getStickerSet |
|
116
|
|
- 'file_id' => 'File', //Response from getFile |
|
117
|
|
- 'title' => 'Chat', //Response from getChat |
|
118
|
|
- 'username' => 'User', //Response from getMe |
|
119
|
|
- 'user' => 'ChatMember', //Response from getChatMember |
|
120
|
|
- 'url' => 'WebhookInfo', //Response from getWebhookInfo |
|
|
115
|
+ 'stickers' => 'StickerSet', //Response from getStickerSet |
|
|
116
|
+ 'file_id' => 'File', //Response from getFile |
|
|
117
|
+ 'title' => 'Chat', //Response from getChat |
|
|
118
|
+ 'username' => 'User', //Response from getMe |
|
|
119
|
+ 'user' => 'ChatMember', //Response from getChatMember |
|
|
120
|
+ 'url' => 'WebhookInfo', //Response from getWebhookInfo |
|
121
|
121
|
]; |
|
122
|
122
|
foreach ($result_object_types as $type => $object_class) { |
|
123
|
123
|
if (isset($result[$type])) { |
Please login to merge, or discard this patch.