class RichPost
implements Post
private
_events: [K in keyof RichPostEvents]: RichPostEvents[K][]
The attachments the post has.
In which chat the post has been made. This can be an ID or the special
chats "home"
, "livechat"
or "inbox"
.
deprecated
post_origin: string
The reactions the post got.
Which posts the post replied to. null
indicates a deleted post or a left
out nested post.
private
_applyPost(post: Post): void
on<TEvent extends keyof RichPostEvents>(event: TEvent,callback: RichPostEvents[TEvent],): void
Listen to an event that occurs.
reply(content: string,options?: Omit<PostOptions, "replies" | "chat">,): Promise<RichPost>
Replies to this post.