Show / Hide Table of Contents

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 Source

MigrateToChatId

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX