Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

SendTypingMessage Bot

Overview

This bot demonstrates how to send typing indicators using the Vector SDK. It responds to any private direct message by sending a typing indicator and then a "Hello World" message.

Features

  • Sends typing indicators
  • Responds to private direct messages with "Hello World"

Requirements

  • Rust toolchain (stable version)
  • Cargo package manager

Dependencies

  • vector_sdk
  • tokio

Setup and Usage

Running the Bot

To start the bot, navigate to the project directory and run:

cd SendTypingMessage
cargo run

For release builds:

cargo build --release
cargo run --release

Project Structure

  • src/main.rs: Main entry point of the application
  • Cargo.toml: Project dependencies and configuration

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for details.