class documentation

class ActivityOptionsUpdate(Generic[ActivityOptionValueType]): (source)

View In Hierarchy

A single change to an activity's options.

An option not represented by any update in the call is left untouched; an update carrying None clears the option.

Warning

This API is experimental.

Class Variable key Option being changed.
Class Variable value Value being set, or None to clear the option.
key: ActivityOptionsKey[ActivityOptionValueType] = (source)

Option being changed.

value: ActivityOptionValueType | None = (source)

Value being set, or None to clear the option.