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

Documentation Issue: matterbridge.toml.sample uses chatid instead of channel for telegram #1072

Closed
PizzaLovingNerd opened this issue Mar 31, 2020 · 1 comment
Labels

Comments

@PizzaLovingNerd
Copy link

On the matterbridge.toml.sample file, it uses the tag "chatid" instead of "channel" for the telegram for the gateway.inout.

Using the chatid tag doesn't work, and you have to use the channel tag instead.

Here is the file I'm talking about.

https://github.com/42wim/matterbridge/blob/master/matterbridge.toml.sample
line 1695

    # discord    - channel (without the #)
    #            - ID:123456789 (where 123456789 is the channel ID)
    #               (https://github.com/42wim/matterbridge/issues/57)
    #            - category/channel (without the #) if you're using discord categories to group your channels
    # telegram   - chatid (a large negative number, eg -123456789)
    #             see (https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau)
    # hipchat    - id_channel (see https://www.hipchat.com/account/xmpp for the correct channel)
@42wim
Copy link
Owner

42wim commented Apr 3, 2020

It means you should use the telegram chatid (which is a large negative number) for the channel like

[[gateway.inout]]
account="telegram.test"
channel="-123456789"

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

No branches or pull requests

2 participants