lib/tdlib/client_methods.rb
def create_private_chat(user_id:, force:)
    broadcast('@type'   => 'createPrivateChat',
              'user_id' => user_id,
              'force'   => force)
  end
# Returns an existing chat corresponding to a given user.
#
# @param user_id [Integer] User identifier.
# @param force [Boolean] If true, the chat will be created without network request.
#   In this case all information about the chat except its type, title and photo can be incorrect.
# @return [TD::Types::Chat]
Returns an existing chat corresponding to a given user.
Returns an existing chat corresponding to a given user .
def create_private_chat(user_id:, force:)
    broadcast('@type'   => 'createPrivateChat',
              'user_id' => user_id,
              'force'   => force)
  end
def create_private_chat ( user_id : , force : ) broadcast ( '@type' => 'createPrivateChat' , 'user_id' => user_id , 'force' => force ) end
Returns an existing chat corresponding to a given user.
Returns an existing chat corresponding to a given user .
None
TD::Types::Chat
user_id
None
force
If true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect.
If true the chat will be created without network request . In this case all information about the chat except its type title and photo can be incorrect .