mirror of
https://github.com/aljazceru/python-nostr.git
synced 2025-12-19 15:24:19 +01:00
Update README.md
This commit is contained in:
@@ -62,7 +62,7 @@ from nostr.message_type import ClientMessageType
|
||||
from nostr.key import generate_private_key, get_public_key
|
||||
|
||||
filters = Filters([Filter(authors=[<a nostr pubkey in hex>], kinds=[EventKind.TEXT_NOTE])])
|
||||
subscription_id = <a string to represent a subscription>
|
||||
subscription_id = <a string to identify a subscription>
|
||||
request = [ClientMessageType.REQUEST, subscription_id]
|
||||
request.extend(filters.to_json_array())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user