Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Notifications (recreated) #288

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ShadowMikado
Copy link
Contributor

I have done all the following:

  • added the feature
  • added documentation for the feature
  • added tests for the feature
  • ran mypy, black, and unit tests

I've added a new feature, the notifications !

notifs = client.notifications()
for notif in notifs:
    print(f"Part: {notif.part}")
    print(f"Ident: {notif.ident}")
    print(f"Number: {client.notification_number}")
    for n in notif.notifications:
        print(f"Id: {n.id}")
        print(f"Type: {n.type}")
        print(f"Message: {n.message}")
        print(f"Action: {n.action}")

Returns for me:

Part: Communication
Ident: secMessagerie
Number: 1
Id: Discussions
Type: 2
Message: Discussions
Action: 2

@ShadowMikado
Copy link
Contributor Author

@bain3

@ecnivtwelve
Copy link

@bain3 pas de news sur la feature ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants