Skip to content

Conversation

@dog-64
Copy link

@dog-64 dog-64 commented Oct 11, 2018

No description provided.

`Nadia.Model.ReplyKeyboardHide` or `Nadia.Model.ForceReply`
"""
@spec send_message(integer, binary, [{atom, any}]) :: {:ok, Message.t()} | {:error, Error.t()}
@spec send_message(integer | binary, binary, [{atom, any}]) :: {:ok, Message.t()} | {:error, Error.t()}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @dog-64 , just curious, this is kind of a significant change, what stays behind it could you please give more details? thanks a lot!

@dog-64
Copy link
Author

dog-64 commented Oct 11, 2018 via email

@alexfilatov
Copy link

yeah, this makes sense for me now, thanks!
yes, we can communicate in Russian but here would be better in English =)

@rockneurotiko
Copy link
Contributor

According to the documentation of telegram api, it's integer or string, so it makes sense this change 😄

https://core.telegram.org/bots/api#available-methods

P.S: I prefer English, I have no idea of Russian 😂

@dog-64
Copy link
Author

dog-64 commented Oct 11, 2018 via email

@zhyu
Copy link
Owner

zhyu commented Oct 12, 2018

Hi, @dog-64

Thanks for contributing.

It seems your changes failed to pass the format check. Would you please look into it?

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.

4 participants