bluesky_chat 0.3.1 copy "bluesky_chat: ^0.3.1" to clipboard
bluesky_chat: ^0.3.1 copied to clipboard

The most powerful Dart/Flutter library for Bluesky Chat.

example/example.dart

// Copyright 2024 Shinya Kato. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided the conditions.

import 'dart:io' as io show Platform;

import 'package:bluesky_chat/bluesky_chat.dart';

Future<void> main(List<String> args) async {
  final session = await createSession(
    identifier: io.Platform.environment['BLUESKY_IDENTIFIER']!,
    password: io.Platform.environment['BLUESKY_PASSWORD']!,
  );

  final chat = BlueskyChat.fromSession(session.data);

  final ref = await chat.actor.declaration(
    allowIncoming: DeclarationAllowIncoming.following,
  );

  print(ref);
}
1
likes
130
pub points
0%
popularity

Publisher

verified publisheratprotodart.com

The most powerful Dart/Flutter library for Bluesky Chat.

Homepage
Repository (GitHub)
View/report issues

Topics

#atproto #bluesky #bluesky-chat #api

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

atproto, atproto_core, bluesky, freezed_annotation, json_annotation

More

Packages that depend on bluesky_chat