google_youtube_api_v3/youtube/api/live_chat_moderators

DO NOT CHANGE, THIS IS AN AUTO GENERATED FILE FROM generate.gleam

Types

Deletes a chat moderator.

pub type DeleteParams {
  DeleteParams(id: String)
}

Constructors

  • DeleteParams(id: String)

Inserts a new resource into this collection.

pub type InsertParams {
  InsertParams(part: List(String))
}

Constructors

  • InsertParams(part: List(String))

Retrieves a list of resources, possibly filtered.

pub type ListParams {
  ListParams(
    live_chat_id: String,
    part: List(String),
    max_results: option.Option(Int),
    page_token: option.Option(String),
  )
}

Constructors

Values

pub fn delete(id: String) -> DeleteParams
pub fn delete_request(params: DeleteParams) -> request.Request
pub fn insert(part: List(String)) -> InsertParams
pub fn insert_add_part(
  params: InsertParams,
  value: String,
) -> InsertParams
pub fn list(
  live_chat_id: String,
  part: List(String),
) -> ListParams
pub fn list_add_part(
  params: ListParams,
  value: String,
) -> ListParams
pub fn list_request(params: ListParams) -> request.Request
pub fn list_with_max_results(
  params: ListParams,
  value: Int,
) -> ListParams
pub fn list_with_page_token(
  params: ListParams,
  value: String,
) -> ListParams
✨ Search Document