Unverified Commit b9845b83 authored by Taico Aerts's avatar Taico Aerts Committed by GitHub

Fix getStickerSet

getStickerSet actually returned a chat object, instead of the intended StickerSet object.

This fixes #836
parent 7b5bf5f7
......@@ -112,6 +112,7 @@ class ServerResponse extends Entity
$result_object_types = [
'total_count' => 'UserProfilePhotos', //Response from getUserProfilePhotos
'stickers' => 'StickerSet', //Response from getStickerSet
'file_id' => 'File', //Response from getFile
'title' => 'Chat', //Response from getChat
'username' => 'User', //Response from getMe
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment