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

Fix description of MessageCfg.ParseMode #3

Closed
wants to merge 1 commit into from
Closed

Fix description of MessageCfg.ParseMode #3

wants to merge 1 commit into from

Conversation

artemnikitin
Copy link

It seems that Telegram changed their API a little bit and both old options currently return an error. New options are correct one.
Details: https://core.telegram.org/bots/api

@coveralls
Copy link

coveralls commented Jul 16, 2016

Coverage Status

Coverage decreased (-0.3%) to 49.292% when pulling a077632 on artemnikitin:master into fc8ddae on bot-api:master.

@m0sth8
Copy link
Contributor

m0sth8 commented Jul 16, 2016

@artemnikitin Thank you for PR.

This description is about constant names. Actual values are here https://github.com/bot-api/telegram/blob/master/constants.go#L79.

// Constant values for ParseMode in MessageCfg.
const (
    MarkdownMode = "Markdown"
    HTMLMode     = "HTML"
)

@artemnikitin
Copy link
Author

Oh, I see. Unfortunately, I didn't figure it out. I will close this PR then.

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

Successfully merging this pull request may close these issues.

None yet

3 participants