Message Count • Rust AI Agent SDK
message_count: Get message count
message_count
Method
</div>
This is a method of the Session class in the session module.
Get message count
Signature
pythondef message_count(&self) -> usize
Returns
ResponseField usizeThe result of the operation.