Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Sending messages to group. #478

Open
kriki200 opened this issue Dec 25, 2024 · 2 comments
Open

[BUG] Sending messages to group. #478

kriki200 opened this issue Dec 25, 2024 · 2 comments

Comments

@kriki200
Copy link

Description
A clear and concise description of what the bug is.

Idk if it is a bug. I want to send messages to a group, tried using the Documentations method, and I replaced the ID64 with a group ID64and got error 2. Is there even a way to send messages to a group? Nothing else besides Error 2 was in the output..

Expected behavior
A clear and concise description of what you expected to happen.

Send a message to the group.

Versions Report

python -m steam.versions_report (Run python -m steam.versions_report and paste the output below)
steam: 1.4.4

Dependencies:
                 vdf: 3.4
            protobuf: 3.20.3
            requests: 2.32.3
          cachetools: 5.5.0
              gevent: 24.11.1
 gevent-eventemitter: 2.1
       pycryptodomex: 3.21.0
              enum34: Not Installed
       win-inet-pton: Not Installed

Python runtime:
          executable: /mnt/x/bin/python
             version: 3.11.2 (main, Sep 14 2024, 03:00:30) [GCC 12.2.0]
            platform: linux

System info:
              system: Linux
             machine: x86_64
             release: 6.1.0-28-amd64
             version: #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22)
@Gobot1234
Copy link

There's not a baked in way to do it however using Unified Messages it is possible. The main problem you'll face is getting the chat/channel IDs. The code should look something like this

https://github.com/Gobot1234/steam.py/blob/e5a74fffcb87555e5fa5075dabd30d23fc1e3850/steam/state.py#L1480

@kriki200
Copy link
Author

There's not a baked in way to do it however using Unified Messages it is possible. The main problem you'll face is getting the chat/channel IDs. The code should look something like this

https://github.com/Gobot1234/steam.py/blob/e5a74fffcb87555e5fa5075dabd30d23fc1e3850/steam/state.py#L1480

Will look into it, thanks :) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants