LinkGraphQlMixin mixin
DirectLink related functionality.
- Mixin applications
Properties
- client → GraphQlClient
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
directLinks(
{ChatId? chatId, DirectLinksFilter? by, DirectLinksPagination? pagination}) → Future< DirectLinks$Query$DirectLinks> - Returns DirectLinks owned by the authenticated MyUser or the specified Chat-group, filtered by the provided criteria.
-
directLinksEvents(
{ChatId? chatId, DirectLinkVersion? ver, FutureOr< DirectLinkVersion?> onVer()?}) → Stream<QueryResult< Object?> > - Subscribes to DirectLinkEvents owned by the authenticated MyUser or the specified Chat-group.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateDirectLink(
DirectLinkSlug slug, DirectLinkLocationInput? location) → Future< DirectLinkVersionedEventsMixin?> - Creates, updates or disabled the specified DirectLink owned by the authenticated MyUser.
-
updateGroupDirectLink(
ChatId groupId, DirectLinkSlug? slug) → Future< DirectLinkVersionedEventsMixin?> - Creates, updates or disables the current DirectLink of the specified Chat-group.
-
useDirectLink(
DirectLinkSlug slug) → Future< UseDirectLink$Mutation$UseDirectLink$UseDirectLinkOk> - Uses the specified DirectLink by the authenticated MyUser, creating a new Chat-dialog, or joining an existing Chat-group.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited