Add some tests, fix copyMessage.

This commit is contained in:
Syfaro 2020-11-06 12:36:00 -05:00
parent 24e02f7ba6
commit 4064ced03f
6 changed files with 96 additions and 5 deletions

View file

@ -241,6 +241,10 @@ func (config CopyMessageConfig) params() (Params, error) {
return params, err
}
func (config CopyMessageConfig) method() string {
return "copyMessage"
}
// PhotoConfig contains information about a SendPhoto request.
type PhotoConfig struct {
BaseFile