Skip to content

feat(content): add topic_detail, list_topic_replies, create_topic_reply#499

Merged
huacnlee merged 9 commits intomainfrom
feat/remove_license
Mar 26, 2026
Merged

feat(content): add topic_detail, list_topic_replies, create_topic_reply#499
huacnlee merged 9 commits intomainfrom
feat/remove_license

Conversation

@huacnlee
Copy link
Member

Summary

  • types: add ListTopicRepliesOptions, CreateReplyOptions, TopicReply (with author, images, engagement counts, created_at)
  • context (async): add topic_detail, list_topic_replies, create_topic_reply methods
  • blocking: add sync wrappers for the three new methods
  • python bindings: add TopicReply pyclass; sync + async bindings for all three methods in ContentContext / AsyncContentContext
  • doc comments: update create_topic and create_topic_reply with permission requirements, tickers auto-link warning, and rate-limit details

Test plan

  • cargo build passes for both longbridge and longbridge-python crates
  • Verify TopicReply fields are accessible from Python

🤖 Generated with Claude Code

yuanzhanghong and others added 9 commits March 26, 2026 10:57
- Rename topics_mine -> my_topics across all SDKs (Rust, C, C++, Python, Node.js, Java)
- Rename ListMyTopicsOptions -> MyTopicsOptions across all SDKs
- Remove license field from OwnedTopic and CreateTopicOptions across all SDKs
- types: add ListTopicRepliesOptions, CreateReplyOptions, TopicReply (with author, images, counts, created_at)
- context: add async topic_detail, list_topic_replies, create_topic_reply methods
- blocking: add sync wrappers for the three new methods
- python: add TopicReply pyclass, sync + async bindings for all three methods
- doc comments: update create_topic and create_topic_reply with permission, tickers auto-link warning, rate-limit details

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@huacnlee huacnlee merged commit ecb47ed into main Mar 26, 2026
56 checks passed
@huacnlee huacnlee deleted the feat/remove_license branch March 26, 2026 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants