[][src]Trait rtdlib::types::ChatType

pub trait ChatType: Object + RObject + Debug + Serialize + Deserialize { }

This class is an abstract base class. Describes the type of a chat.

Methods

impl dyn ChatType[src]

pub fn from_json<S: AsRef<str>>(json: S) -> Option<Box<Self>>[src]

Trait Implementations

impl<'typetag> Serialize for dyn ChatType + 'typetag[src]

impl<'typetag> Serialize for dyn ChatType + Send + 'typetag[src]

impl<'typetag> Serialize for dyn ChatType + Sync + 'typetag[src]

impl<'typetag> Serialize for dyn ChatType + Send + Sync + 'typetag[src]

impl Strictest for dyn ChatType[src]

type Object = dyn ChatType

Implementors

impl ChatType for ChatTypeBasicGroup[src]

impl ChatType for ChatTypePrivate[src]

impl ChatType for ChatTypeSecret[src]

impl ChatType for ChatTypeSupergroup[src]

Loading content...