Cards

class Cards(val client: ApiClient) : Endpoint

Collection of api endpoints related to Cards API (maybe private endpoints).

See also

Parameters

client

Current ApiClient instance.

Constructors

Link copied to clipboard
fun Cards(client: ApiClient)

Creates new Cards endpoint instance.

Properties

Link copied to clipboard
open override val client: ApiClient

Extensions

Link copied to clipboard
fun Cards.create(cardData: String, vararg options: Option): JsonObjectApiAction<Card>

Creates new "card" object. This is what we call polls.

Link copied to clipboard
fun Cards.show(    cardUri: String,     responseCardName: String = "poll4choice_text_only",     vararg options: Option): JsonObjectApiAction<CardState>

Returns card data.