diff --git a/td/generate/scheme/td_api.tl b/td/generate/scheme/td_api.tl index b98c8916..99ec8b5b 100644 --- a/td/generate/scheme/td_api.tl +++ b/td/generate/scheme/td_api.tl @@ -1549,7 +1549,7 @@ inputMessageVideoNote video_note:InputFile thumbnail:inputThumbnail duration:int //@description A voice note message @voice_note Voice note to be sent @duration Duration of the voice note, in seconds @waveform Waveform representation of the voice note, in 5-bit format @caption Voice note caption; 0-GetOption("message_caption_length_max") characters inputMessageVoiceNote voice_note:InputFile duration:int32 waveform:bytes caption:formattedText = InputMessageContent; -//@description A message with a location @location Location to be sent @live_period Period for which the location can be updated, in seconds; should bebetween 60 and 86400 for a live location and 0 otherwise +//@description A message with a location @location Location to be sent @live_period Period for which the location can be updated, in seconds; should be between 60 and 86400 for a live location and 0 otherwise inputMessageLocation location:location live_period:int32 = InputMessageContent; //@description A message with information about a venue @venue Venue to send @@ -2151,7 +2151,7 @@ backgrounds backgrounds:vector = Backgrounds; //@class InputBackground @description Contains information about background to set //@description A background from a local file -//@background Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file nust be in JPEG format for wallpapers and in PNG format for patterns +//@background Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns inputBackgroundLocal background:InputFile = InputBackground; //@description A background from the server @background_id The background identifier @@ -3075,7 +3075,7 @@ destroy = Ok; confirmQrCodeAuthentication link:string = Session; -//@description Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others. This is especially usefull if TDLib is run in a separate process. This is an offline method. Can be called before authorization +//@description Returns all updates needed to restore current TDLib state, i.e. all actual UpdateAuthorizationState/UpdateUser/UpdateNewChat and others. This is especially useful if TDLib is run in a separate process. This is an offline method. Can be called before authorization getCurrentState = Updates; @@ -3681,7 +3681,7 @@ cancelUploadFile file_id:int32 = Ok; //@generation_id The identifier of the generation process @offset The offset from which to write the data to the file @data The data to write writeGeneratedFilePart generation_id:int64 offset:int32 data:bytes = Ok; -//@description Informs TDLib on a file generation prograss +//@description Informs TDLib on a file generation progress //@generation_id The identifier of the generation process //@expected_size Expected size of the generated file, in bytes; 0 if unknown //@local_prefix_size The number of bytes already generated @@ -3945,7 +3945,7 @@ getSupergroupMembers supergroup_id:int32 filter:SupergroupMembersFilter offset:i deleteSupergroup supergroup_id:int32 = Ok; -//@description Closes a secret chat, effectively transfering its state to secretChatStateClosed @secret_chat_id Secret chat identifier +//@description Closes a secret chat, effectively transferring its state to secretChatStateClosed @secret_chat_id Secret chat identifier closeSecretChat secret_chat_id:int32 = Ok; @@ -3997,7 +3997,7 @@ searchBackground name:string = Background; //@for_dark_theme True, if the background is chosen for dark theme setBackground background:InputBackground type:BackgroundType for_dark_theme:Bool = Background; -//@description Removes background from the list of installed backgrounds @background_id The background indentifier +//@description Removes background from the list of installed backgrounds @background_id The background identifier removeBackground background_id:int64 = Ok; //@description Resets list of installed backgrounds to its default value