editTitle method
Future<Result<UpdatesBase> >
editTitle({
- required InputChannelBase channel,
- required String title,
Edit Title.
ID: 566decd0
.
Implementation
Future<Result<UpdatesBase>> editTitle({
required InputChannelBase channel,
required String title,
}) async {
// Preparing the request.
final request = ChannelsEditTitle(
channel: channel,
title: title,
);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<UpdatesBase>();
}