gleetube/model/comment_thread

Types

A YouTube comment thread resource.

pub type CommentThread {
  CommentThread(
    kind: option.Option(String),
    etag: option.Option(String),
    id: option.Option(String),
    snippet: option.Option(CommentThreadSnippet),
    replies: option.Option(CommentThreadReplies),
  )
}

Constructors

Response from commentThreads.list API call.

pub type CommentThreadListResponse {
  CommentThreadListResponse(
    kind: option.Option(String),
    etag: option.Option(String),
    next_page_token: option.Option(String),
    prev_page_token: option.Option(String),
    page_info: option.Option(common.PageInfo),
    items: List(CommentThread),
  )
}

Constructors

Comment thread replies.

pub type CommentThreadReplies {
  CommentThreadReplies(comments: List(comment.Comment))
}

Constructors

Comment thread snippet.

pub type CommentThreadSnippet {
  CommentThreadSnippet(
    channel_id: option.Option(String),
    video_id: option.Option(String),
    top_level_comment: option.Option(comment.Comment),
    can_reply: option.Option(Bool),
    total_reply_count: option.Option(Int),
    is_public: option.Option(Bool),
  )
}

Constructors

Search Document