AnnouncementListing¶
- class asyncpraw.models.AnnouncementListing(reddit, _data)¶
Special
Listingfor handlingAnnouncementlists.The announcements endpoint wraps results in
{"after", "before", "data"}instead of the standardListingenvelope, with each child as a raw dict rather than a{"kind": "ann", "data": {...}}wrapper.- Parameters:
reddit (asyncpraw.Reddit)
- __getitem__(index)¶
Return the item at position index in the list.
- __init__(reddit, _data)¶
Initialize a
AsyncPRAWBaseinstance.