Skip to content
Snippets Groups Projects
Commit c4bcc439 authored by Tulir Asokan's avatar Tulir Asokan :cat2:
Browse files

Fix subtitle field type

parent d54d8d2a
No related branches found
No related tags found
No related merge requests found
......@@ -287,12 +287,12 @@ class StoryTarget(SerializableAttrs['StoryTarget']):
class StoryAttachment(SerializableAttrs['StoryAttachment']):
title: str
url: str
# TODO enum? share, message_location, fallback
# TODO enum? share, message_location, attached_story, photo, games_app, messenger_native_templates, unavailable, fallback
style_list: List[str] = attr.ib(factory=lambda: [])
title_with_entities: Optional[ExtensibleText] = None
description: Optional[ExtensibleText] = None
source: Optional[ExtensibleText] = None
subtitle: Optional[ExtensibleText] = None
subtitle: Optional[str] = None
target: Optional[StoryTarget] = None
@property
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment