Usage info
This method lists the items pinned to a channel.
Response
The response contains a list of pinned items in a channel.
Different item types can be pinned. Every item in the list has a type property, and the other properties depend on the type of item. The possible types are:
message: the item will have amessageproperty containing a message object and achannelproperty containing the channel ID for the message.file: this item will have afileproperty containing a file object.file_comment: the item will have afileproperty containing the file object and acommentproperty containing the file comment.
The created property on each item is a Unix timestamp representing when the item was pinned.
The created_by property on each item is a string representing the encoded user id of the user who pinned the item.