ChatSourceExtensions extension

on

Methods

map<TResult extends Object?>({required TResult mtprotoProxy(ChatSourceMtprotoProxy value), required TResult publicServiceAnnouncement(ChatSourcePublicServiceAnnouncement value)}) → TResult

Available on ChatSource, provided by the ChatSourceExtensions extension

maybeMap<TResult extends Object?>({TResult mtprotoProxy(ChatSourceMtprotoProxy value)?, TResult publicServiceAnnouncement(ChatSourcePublicServiceAnnouncement value)?, required TResult orElse()}) → TResult

Available on ChatSource, provided by the ChatSourceExtensions extension