Skip to content

mattermostmodelsposts Post

BigMakCode edited this page Aug 5, 2024 · 1 revision

Post Public class

Description

Post information.

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph Mattermost.Models.Posts
  Mattermost.Models.Posts.Post[[Post]]
  end
Loading

Members

Properties

Public properties

Type Name Methods
string ChannelId
Channel identidier where post was created.
get, set
long CreatedAt
The time in milliseconds a post was created.
get, set
long DeletedAt
The time in milliseconds a post was deleted.
get, set
long EditedAt
The time in milliseconds a post was edited.
get, set
IEnumerable<string> FileIdentifiers
Files attached to the post.
get, set
string Hashtags
Post hashtags.
get, set
string Id
Post identifier.
get, set
bool IsPinned
True if post is pinned, otherwise false.
get, set
int LastReplyAt
The time in milliseconds when post was replied.
get, set
string OriginalId get, set
string PendingPostId get, set
Dictionary<string, object> Props
Post metadata.
get, set
int ReplyCount
Reply post count (thread messages count).
get, set
string RootId
Root post identidier if the post is child of thread.
get, set
string Text
Post text message.
get, set
string Type get, set
long UpdatedAt
The time in milliseconds a post was last updated.
get, set
string UserId
User who created the post.
get, set

Details

Summary

Post information.

Constructors

Post

public Post()

Properties

Id

public string Id { get; set; }
Summary

Post identifier.

CreatedAt

public long CreatedAt { get; set; }
Summary

The time in milliseconds a post was created.

UpdatedAt

public long UpdatedAt { get; set; }
Summary

The time in milliseconds a post was last updated.

EditedAt

public long EditedAt { get; set; }
Summary

The time in milliseconds a post was edited.

DeletedAt

public long DeletedAt { get; set; }
Summary

The time in milliseconds a post was deleted.

IsPinned

public bool IsPinned { get; set; }
Summary

True if post is pinned, otherwise false.

UserId

public string UserId { get; set; }
Summary

User who created the post.

ChannelId

public string ChannelId { get; set; }
Summary

Channel identidier where post was created.

RootId

public string RootId { get; set; }
Summary

Root post identidier if the post is child of thread.

OriginalId

public string OriginalId { get; set; }
Summary

Text

public string Text { get; set; }
Summary

Post text message.

Type

public string Type { get; set; }
Summary

Hashtags

public string Hashtags { get; set; }
Summary

Post hashtags.

PendingPostId

public string PendingPostId { get; set; }
Summary

ReplyCount

public int ReplyCount { get; set; }
Summary

Reply post count (thread messages count).

LastReplyAt

public int LastReplyAt { get; set; }
Summary

The time in milliseconds when post was replied.

FileIdentifiers

public IEnumerable<string> FileIdentifiers { get; set; }
Summary

Files attached to the post.

Props

public Dictionary<string, object> Props { get; set; }
Summary

Post metadata.

Generated with ModularDoc

Clone this wiki locally