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

discontinued

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
0
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

Funding

Consider supporting this project:

github.com

License

unknown (license)

Dependencies

atproto, atproto_core, bluesky, freezed_annotation, json_annotation

More

Packages that depend on bluesky_chat