Skip to content

Chat not found #3618

@Krakozaber

Description

@Krakozaber

I can't send a message to the chat from the bot, receive a message that the chat does not exist, although it does exist.

tdlib 1.8.62

  '@type' => string 'error' (length=5)
  'code' => int 400
  'message' => string 'Chat not found' (length=14)
  '@type' => string 'chat' (length=4)
  'id' => int 212441636
  'type' => 
    array (size=2)
      '@type' => string 'chatTypePrivate' (length=15)
      'user_id' => int 212441636
  'title' => string 'userName' (length=25)
  'accent_color_id' => int 1
  'background_custom_emoji_id' => string '0' (length=1)
  'profile_accent_color_id' => int -1
  'profile_background_custom_emoji_id' => string '0' (length=1)
  'permissions' => 
    array (size=16)
      '@type' => string 'chatPermissions' (length=15)
      'can_send_basic_messages' => boolean true
      'can_send_audios' => boolean true
      'can_send_documents' => boolean true
      'can_send_photos' => boolean true
      'can_send_videos' => boolean true
      'can_send_video_notes' => boolean true
      'can_send_voice_notes' => boolean true
      'can_send_polls' => boolean true
      'can_send_other_messages' => boolean true
      'can_add_link_previews' => boolean true
      'can_edit_tag' => boolean false
      'can_change_info' => boolean false
      'can_invite_users' => boolean false
      'can_pin_messages' => boolean true
      'can_create_topics' => boolean false
  'positions' => 
    array (size=0)
      empty
  'chat_lists' => 
    array (size=0)
      empty
  'has_protected_content' => boolean false
  'is_translatable' => boolean false
  'is_marked_as_unread' => boolean false
  'view_as_topics' => boolean false
  'has_scheduled_messages' => boolean false
  'can_be_deleted_only_for_self' => boolean false
  'can_be_deleted_for_all_users' => boolean false
  'can_be_reported' => boolean false
  'default_disable_notification' => boolean false
  'unread_count' => int 0
  'last_read_inbox_message_id' => int 0
  'last_read_outbox_message_id' => int 0
  'unread_mention_count' => int 0
  'unread_reaction_count' => int 0
  'notification_settings' => 
    array (size=17)
      '@type' => string 'chatNotificationSettings' (length=24)
      'use_default_mute_for' => boolean true
      'mute_for' => int 0
      'use_default_sound' => boolean true
      'sound_id' => string '-1' (length=2)
      'use_default_show_preview' => boolean true
      'show_preview' => boolean true
      'use_default_mute_stories' => boolean true
      'mute_stories' => boolean false
      'use_default_story_sound' => boolean true
      'story_sound_id' => string '-1' (length=2)
      'use_default_show_story_poster' => boolean true
      'show_story_poster' => boolean true
      'use_default_disable_pinned_message_notifications' => boolean true
      'disable_pinned_message_notifications' => boolean false
      'use_default_disable_mention_notifications' => boolean true
      'disable_mention_notifications' => boolean false
  'available_reactions' => 
    array (size=2)
      '@type' => string 'chatAvailableReactionsAll' (length=25)
      'max_reaction_count' => int 11
  'message_auto_delete_time' => int 0
  'video_chat' => 
    array (size=3)
      '@type' => string 'videoChat' (length=9)
      'group_call_id' => int 0
      'has_participants' => boolean false
  'reply_markup_message_id' => int 0
  'client_data' => string '' (length=0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions