google_youtube_api_v3/youtube/api/live_chat_messages

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

Types

Deletes a chat message. A call to this method has a quota cost of 20 units.

pub type DeleteParams {
  DeleteParams(id: String)
}

Constructors

  • DeleteParams(id: String)

Inserts a new resource into this collection. A call to this method has a quota cost of 20 units.

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

Constructors

  • InsertParams(part: List(String))

Retrieves a list of resources, possibly filtered. A call to this method has a quota cost of 5 units.

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

Constructors

Transitions a durable chat event. A call to this method has a quota cost of 20 units.

pub type TransitionParams {
  TransitionParams(
    id: option.Option(String),
    status: option.Option(TransitionStatus),
  )
}

Constructors

The status to which the chat event is going to transition.

pub type TransitionStatus {
  TransitionStatusStatusUnspecified
  TransitionStatusClosed
}

Constructors

  • TransitionStatusStatusUnspecified
  • TransitionStatusClosed

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_hl(
  params: ListParams,
  value: String,
) -> ListParams
pub fn list_with_max_results(
  params: ListParams,
  value: Int,
) -> ListParams
pub fn list_with_page_token(
  params: ListParams,
  value: String,
) -> ListParams
pub fn list_with_profile_image_size(
  params: ListParams,
  value: Int,
) -> ListParams
pub fn transition() -> TransitionParams
pub fn transition_request(
  params: TransitionParams,
) -> request.Request
pub fn transition_status_decoder() -> decode.Decoder(
  TransitionStatus,
)
pub fn transition_status_to_string(
  value: TransitionStatus,
) -> String
pub fn transition_with_id(
  params: TransitionParams,
  value: String,
) -> TransitionParams
pub fn transition_with_status(
  params: TransitionParams,
  value: TransitionStatus,
) -> TransitionParams
✨ Search Document