Skip to content

SendVideo extends class KAbstractMultipartRequest while other Send objects still extend AbstractMultipartRequest #419

@mircoianese

Description

@mircoianese

Hello,

The fact that class SendVideo is extending a different class from other send methods (SendMessage, SendPhoto...) could break compatibility.
For example I have some methods that take as input an AbstractSendRequest and that now are not compatible with SendVideo.

I think the solution should be to migrate all Send objects to KAbstractMultipartRequest and KAbstractSendRequest and then rename both back to AbstractMultipartRequest and AbstractSendRequest.

@anfanik @pengrad

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions