CommunicationService class final

Provides tools.ozone.communication.* endpoints.

Constructors

CommunicationService(BlueskyServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createTemplate({required String name, required String contentMarkdown, required String subject, String? lang, String? createdBy, Map<String, String>? $unknown, Map<String, String>? $headers, PostClient? $client}) Future<XRPCResponse<TemplateView>>
Administrative action to create a new, re-usable communication (email for now) template.
deleteTemplate({required String id, Map<String, String>? $unknown, Map<String, String>? $headers, PostClient? $client}) Future<XRPCResponse<EmptyData>>
Delete a communication template.
listTemplates({Map<String, String>? $unknown, Map<String, String>? $headers, GetClient? $client}) Future<XRPCResponse<ListTemplatesOutput>>
Get list of all communication templates.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateTemplate({required String id, String? name, String? lang, String? contentMarkdown, String? subject, String? updatedBy, bool? disabled, Map<String, String>? $unknown, Map<String, String>? $headers, PostClient? $client}) Future<XRPCResponse<TemplateView>>
Administrative action to update an existing communication template. Allows passing partial fields to patch specific fields only.

Operators

operator ==(Object other) bool
The equality operator.
inherited