steam icon indicating copy to clipboard operation
steam copied to clipboard

[BUG] Sending messages to group.

Open kriki200 opened this issue 1 year ago • 2 comments

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)

kriki200 avatar Dec 25 '24 18:12 kriki200

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

Gobot1234 avatar Dec 25 '24 21:12 Gobot1234

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 :) .

kriki200 avatar Dec 30 '24 15:12 kriki200