Class ResponseParameters
The response parameters that might be given by telegram on a failed request
Inheritance
System.Object
ResponseParameters
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TelegramBotApi.Types
Assembly: TelegramBotApi.dll
Syntax
[JsonObject]
public class ResponseParameters
Properties
| Improve this Doc View SourceMigrateToChatId
If this isn't 0, the chat has been migrated to this id
Declaration
[JsonProperty(PropertyName = "migrate_to_chat_id")]
public long MigrateToChatId { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
RetryAfter
If this isn't 0, the number of seconds to wait before the request can be repeated
Declaration
[JsonProperty(PropertyName = "retry_after")]
public int RetryAfter { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |