vlivepy.Post¶
-
class
vlivepy.
Post
(post_id: str, session: Optional[vlivepy.session.UserSession] = None)[source]¶ Bases:
vlivepy.model.PostModel
This is the object represents a post of VLIVE
- Parameters
post_id (
str
) – Unique id of post to load.session (
UserSession
, optional) – Session for loading data with permission, defaults to None.
-
session
¶ Optional. Session for loading data with permission.
- Type
-
property
body
¶ Contents of post with
<v:attachment>
tag- Return type
str
-
formatted_body
() → str[source]¶ Get contents of post with formatting attachments and styles as html.
- Return type
str
-
property
plain_body
¶ Text-only contents of post
- Return type
str
-
property
written_in
¶ User language setting of post.
- Return type
str