| Class | Parent class |
|---|---|
| Reddit::Client::MoreComments | Reddit::Client::Thing |
A stub class that holds the list of unexpanded comments that is generated by Reddit when there are too many comments in a thread. On the website, these are the comments hidden under a "show more comments" link.
Constants
| Constant | Value |
|---|---|
| type | more |
Methods
| Method | Description |
|---|---|
| get_collapsed_comments | Return a flat list of Comment objects corresponding to this MoreComment object's children. Can accept the optional arguments documented here. |
Properties
| Field | Example |
|---|---|
| children | Array reference containing comment IDs |
| count | The number of comment IDs |
| depth | The maximum depth of the hidden comment chain |
| link_id | Fullname of the Link these comments are under |
| parent_id | Fullname of the parent Comment or Link |