Skip to content

Commit

Permalink
Support stickers for story [#18] Added StorySticker to README
Browse files Browse the repository at this point in the history
  • Loading branch information
adw0rd committed Jan 7, 2021
1 parent 7d345e6 commit 36f539e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ The current types are in [types.py](/instagrapi/types.py):
| StoryLocation | Tag Location in Story (as stocker) |
| StoryMention | Mention users in Story (user, coordinates and dimensions) |
| StoryHashtag | Hashtag for story (as sticker) |
| StorySticker | Tag sticker to story (for example from giphy) |
| StoryBuild | [StoryBuilder](/instagrapi/story.py) return path to photo/video and mention cordinats |
| DirectThread | Thread (topic) with messages in Direct |
| DirectMessage | Message in Direct |
Expand Down Expand Up @@ -377,11 +378,12 @@ Upload medias to your stories. Common arguments:
* `locations` - Add locations to story
* `links` - "Swipe Up" links (now use first)
* `hashtags` - Add hashtags to story
* `stickers` - Add stickers to story

| Method | Return | Description |
| ------------------------------------------------------------------------------------------------ | -------- | ------------- |
| photo_upload_to_story(path: Path, caption: str, upload_id: str, mentions: List[Usertag], locations: List[StoryLocation], links: List[StoryLink], hashtags: List[StoryHashtag]) | Story | Upload photo (Support JPG files)
| video_upload_to_story(path: Path, caption: str, thumbnail: Path, mentions: List[Usertag], locations: List[StoryLocation], links: List[StoryLink], hashtags: List[StoryHashtag]) | Story | Upload video (Support MP4 files)
| photo_upload_to_story(path: Path, caption: str, upload_id: str, mentions: List[Usertag], locations: List[StoryLocation], links: List[StoryLink], hashtags: List[StoryHashtag], stickers: List[StorySticker]) | Story | Upload photo (Support JPG files)
| video_upload_to_story(path: Path, caption: str, thumbnail: Path, mentions: List[Usertag], locations: List[StoryLocation], links: List[StoryLink], hashtags: List[StoryHashtag], stickers: List[StorySticker]) | Story | Upload video (Support MP4 files)

Examples:

Expand Down

0 comments on commit 36f539e

Please sign in to comment.