Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Commit

Permalink
Add type "carousel" to MediaToString() function (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddie authored and ahmdrz committed Dec 4, 2019
1 parent 6ca05ab commit df999f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ func (item *Item) MediaToString() string {
return "photo"
case 2:
return "video"
case 8:
return "carousel"
}
return ""
}
Expand Down

0 comments on commit df999f9

Please sign in to comment.